From 193f931f989bc11116b227e38e304e5d9178b04a Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Fri, 3 Sep 2021 19:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=97=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/container.go b/models/container.go index b25a38f..01a8eb3 100644 --- a/models/container.go +++ b/models/container.go @@ -371,7 +371,7 @@ func (c *Container) getToken() error { logs.Info(tZero) logs.Info(token.Expiration) t_ := token.Expiration.Sub(tZero) - if t_ > 0 { + if t_ < 0 { err2, done := getT(c, token) if done { return err2