Skip to content

Commit

Permalink
backport of commit 5dc9dea
Browse files Browse the repository at this point in the history
  • Loading branch information
thyton authored Feb 6, 2025
1 parent 2b207ea commit e923bdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/logical/system_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ type ExtendedSystemView interface {
type PasswordGenerator func() (password string, err error)

type StaticSystemView struct {
EntStaticSystemView
DefaultLeaseTTLVal time.Duration
MaxLeaseTTLVal time.Duration
SudoPrivilegeVal bool
Expand Down
8 changes: 8 additions & 0 deletions sdk/logical/system_view_stubs_oss.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

//go:build !enterprise

package logical

type EntStaticSystemView struct{}

0 comments on commit e923bdf

Please sign in to comment.