review rework 2

This commit is contained in:
vishalnayak 2016-03-04 18:08:13 -05:00
parent 2f5e65ae24
commit 402444c002
1 changed files with 3 additions and 1 deletions

View File

@ -343,7 +343,9 @@ func (m *ExpirationManager) RenewToken(req *logical.Request, source string, toke
}
if resp.Auth == nil || !resp.Auth.LeaseEnabled() {
return &logical.Response{}, nil
return &logical.Response{
Auth: resp.Auth,
}, nil
}
// Attach the ClientToken