mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-19 19:34:56 +00:00
Remove Unix() invocations on 'time.Time' objects and removed conversion of time to UTC
This commit is contained in:
@@ -263,7 +263,7 @@ func TestBackendHandleRequest_renewExtend(t *testing.T) {
|
||||
}
|
||||
|
||||
req := logical.RenewRequest("/foo", secret.Response(nil, nil).Secret, nil)
|
||||
req.Secret.IssueTime = time.Now().UTC()
|
||||
req.Secret.IssueTime = time.Now()
|
||||
req.Secret.Increment = 1 * time.Hour
|
||||
resp, err := b.HandleRequest(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user