diff --git a/nomad/vault.go b/nomad/vault.go index 6668c659918..64779837672 100644 --- a/nomad/vault.go +++ b/nomad/vault.go @@ -1236,7 +1236,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, } }