mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	The big one (#5346)
This commit is contained in:
		@@ -8,6 +8,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
 | 
			
		||||
	"github.com/hashicorp/vault/helper/consts"
 | 
			
		||||
	"github.com/hashicorp/vault/helper/license"
 | 
			
		||||
	"github.com/hashicorp/vault/helper/pluginutil"
 | 
			
		||||
	"github.com/hashicorp/vault/helper/wrapping"
 | 
			
		||||
	"github.com/hashicorp/vault/logical"
 | 
			
		||||
@@ -109,6 +110,11 @@ func (s *SystemViewClient) LookupPlugin(ctx context.Context, name string) (*plug
 | 
			
		||||
	return nil, fmt.Errorf("cannot call LookupPlugin from a plugin backend")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *SystemViewClient) HasFeature(feature license.Features) bool {
 | 
			
		||||
	// Not implemented
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *SystemViewClient) MlockEnabled() bool {
 | 
			
		||||
	var reply MlockEnabledReply
 | 
			
		||||
	err := s.client.Call("Plugin.MlockEnabled", new(interface{}), &reply)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user