Commit 91500c08 authored by Mahmood Ali's avatar Mahmood Ali
Browse files

round ttl duration for users

parent df0cddda
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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,
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment