mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Remove RegisterLicense from logical.Backend
It's almost certainly the wrong signature and nothing uses it currently anyways.
This commit is contained in:
@@ -290,14 +290,6 @@ func (b *Backend) Type() logical.BackendType {
|
||||
return b.BackendType
|
||||
}
|
||||
|
||||
// RegisterLicense performs backend license registration.
|
||||
func (b *Backend) RegisterLicense(license interface{}) error {
|
||||
if b.LicenseRegistration == nil {
|
||||
return nil
|
||||
}
|
||||
return b.LicenseRegistration(license)
|
||||
}
|
||||
|
||||
// SanitizeTTLStr takes in the TTL and MaxTTL values provided by the user,
|
||||
// compares those with the SystemView values. If they are empty a value of 0 is
|
||||
// set, which will cause initial secret or LeaseExtend operations to use the
|
||||
|
||||
Reference in New Issue
Block a user