Internally refactor Lease/LeaseGracePeriod into TTL/GracePeriod

This commit is contained in:
Jeff Mitchell
2015-08-20 17:47:17 -07:00
parent 8281965d7c
commit 97112665e8
24 changed files with 113 additions and 108 deletions

View File

@@ -105,7 +105,7 @@ func (b *backend) pathRoleCreateRead(
}, map[string]interface{}{
"username": username,
})
resp.Secret.Lease = lease.Lease
resp.Secret.TTL = lease.Lease
return resp, nil
}