From 091c12f86be0b7df6a039ad8cadb2e1909857fdb Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Wed, 3 Feb 2016 10:42:32 -0800 Subject: [PATCH] Print the correct token expiration time Signed-off-by: Richard Scothern --- docs/client/auth/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client/auth/session.go b/docs/client/auth/session.go index 6b483c62e..50a94a3da 100644 --- a/docs/client/auth/session.go +++ b/docs/client/auth/session.go @@ -285,9 +285,9 @@ func (th *tokenHandler) fetchToken(params map[string]string) (token *tokenRespon } if tr.ExpiresIn < minimumTokenLifetimeSeconds { - logrus.Debugf("Increasing token expiration to: %d seconds", tr.ExpiresIn) // The default/minimum lifetime. tr.ExpiresIn = minimumTokenLifetimeSeconds + logrus.Debugf("Increasing token expiration to: %d seconds", tr.ExpiresIn) } if tr.IssuedAt.IsZero() {