We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0e9b82 commit 055b474Copy full SHA for 055b474
builder/tencentcloud/cvm/oauth.go
@@ -26,7 +26,7 @@ func GetOauthConfig(p *Profile) error {
26
now := time.Now()
27
futureTime := now.Add(30 * time.Second)
28
targetTime := time.Unix(p.Oauth.ExpiresAt, 0)
29
- if targetTime.After(futureTime) {
+ if futureTime.After(targetTime) {
30
expired = true
31
}
32
0 commit comments