Skip to content

Commit

Permalink
Fix renewAuth to use the increment value (#3904)
Browse files Browse the repository at this point in the history
  • Loading branch information
gobins authored and jefferai committed Feb 5, 2018
1 parent ca9aed6 commit fbb0c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/renewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (r *Renewer) renewAuth() error {
}

// Renew the auth.
renewal, err := client.Auth().Token().RenewTokenAsSelf(token, 0)
renewal, err := client.Auth().Token().RenewTokenAsSelf(token, r.increment)
if err != nil {
return err
}
Expand Down

0 comments on commit fbb0c63

Please sign in to comment.