Skip to content

Commit

Permalink
round ttl duration for users
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood Ali committed Nov 16, 2018
1 parent c4bdbba commit 7dcc554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ func (v *vaultClient) Stats() map[string]string {

return map[string]string{
"tracked_for_revoked": strconv.Itoa(stat.TrackedForRevoke),
"token_ttl": stat.TokenTTL.String(),
"token_ttl": stat.TokenTTL.Round(time.Second).String(),
"token_expire_time": expireTimeStr,
}
}
Expand Down

0 comments on commit 7dcc554

Please sign in to comment.