Remove RegisterLicense from logical.Backend

It's almost certainly the wrong signature and nothing uses it currently
anyways.
This commit is contained in:
Jeff Mitchell
2018-01-18 13:44:27 -05:00
parent 06c062fafe
commit f7ae903371
6 changed files with 0 additions and 64 deletions

View File

@@ -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