round ttl duration for users

This commit is contained in:
Mahmood Ali 2018-11-09 13:51:19 -05:00
parent 4a0544b369
commit 93add67e04
1 changed files with 1 additions and 1 deletions

View File

@ -1221,7 +1221,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,
}
}