Cleaning up lease and lease duration vars and params

This commit is contained in:
Chris Hoffman
2016-03-10 21:15:18 -05:00
parent e6ce2164d2
commit b9c8f95746
5 changed files with 40 additions and 41 deletions

View File

@@ -105,8 +105,8 @@ func (b *backend) ResetDB() {
b.db = nil
}
// Lease returns the lease information
func (b *backend) Lease(s logical.Storage) (*configLease, error) {
// LeaseConfig returns the lease configuration
func (b *backend) LeaseConfig(s logical.Storage) (*configLease, error) {
entry, err := s.Get("config/lease")
if err != nil {
return nil, err
@@ -129,5 +129,5 @@ The MSSQL backend dynamically generates database users.
After mounting this backend, configure it using the endpoints within
the "config/" path.
This backend does not support Azure SQL Databases
This backend does not support Azure SQL Databases.
`