From 5dc9dea8ed259748d0bb5d386302f4e4498c8893 Mon Sep 17 00:00:00 2001 From: Thy Ton Date: Thu, 6 Feb 2025 08:32:14 -0800 Subject: [PATCH] add EntStaticSystemView to StaticSystemView and its ce stubs (#29516) --- sdk/logical/system_view.go | 1 + sdk/logical/system_view_stubs_oss.go | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 sdk/logical/system_view_stubs_oss.go diff --git a/sdk/logical/system_view.go b/sdk/logical/system_view.go index 76404a7296..1cf2fa0f0a 100644 --- a/sdk/logical/system_view.go +++ b/sdk/logical/system_view.go @@ -146,6 +146,7 @@ type ExtendedSystemView interface { type PasswordGenerator func() (password string, err error) type StaticSystemView struct { + EntStaticSystemView DefaultLeaseTTLVal time.Duration MaxLeaseTTLVal time.Duration SudoPrivilegeVal bool diff --git a/sdk/logical/system_view_stubs_oss.go b/sdk/logical/system_view_stubs_oss.go new file mode 100644 index 0000000000..3e028ded7f --- /dev/null +++ b/sdk/logical/system_view_stubs_oss.go @@ -0,0 +1,8 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +//go:build !enterprise + +package logical + +type EntStaticSystemView struct{}