mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-16 06:57:44 +08:00
fix: async refresh revoked tokens (#18205)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -170,7 +170,7 @@ func newAuthManager(cli *mcclient.Client, info *AuthInfo) *authManager {
|
||||
accessKeyCache: newAccessKeyCache(),
|
||||
}
|
||||
authm.InitSync(authm)
|
||||
authm.startRefreshRevokeTokens()
|
||||
go authm.startRefreshRevokeTokens()
|
||||
return authm
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user