Rejig Lease terminology internally; also, put a few JSON names back to their original values

This commit is contained in:
Jeff Mitchell
2015-08-20 22:27:01 -07:00
parent 97112665e8
commit e7f2a54720
10 changed files with 45 additions and 58 deletions

View File

@@ -75,9 +75,9 @@ func TestLeaseExtend(t *testing.T) {
req := &logical.Request{
Auth: &logical.Auth{
LeaseOptions: logical.LeaseOptions{
TTL: 1 * time.Hour,
LeaseIssue: now,
LeaseIncrement: tc.Request,
TTL: 1 * time.Hour,
IssueTime: now,
Increment: tc.Request,
},
},
}