From 5b8fc9635427e812d774977c9d2879353fca0d79 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Fri, 3 Sep 2021 19:40:58 +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 1e1471d..071d315 100644 --- a/models/container.go +++ b/models/container.go @@ -370,7 +370,7 @@ func (c *Container) getToken() error { tZero := time.Now().Add(h) logs.Info(tZero) logs.Info(token.Expiration) - if tZero.After(token.Expiration) { + if tZero.Before(token.Expiration) { err2, done := getT(c, token) if done { return err2