修复时间问题
This commit is contained in:
parent
15e7479af0
commit
5b8fc96354
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user