This commit is contained in:
Jeff Mitchell
2016-08-19 16:48:32 -04:00
parent cb106531db
commit 357ecb4dfe
16 changed files with 35 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ func pathConfigLease(b *backend) *framework.Path {
},
Callbacks: map[logical.Operation]framework.OperationFunc{
logical.ReadOperation: b.pathLeaseRead,
logical.ReadOperation: b.pathLeaseRead,
logical.UpdateOperation: b.pathLeaseWrite,
},

View File

@@ -91,7 +91,6 @@ func (b *backend) secretCredsRevoke(
}
username, ok := usernameRaw.(string)
// Get our connection
db, err := b.DB(req.Storage)
if err != nil {