hotfix: corrects renewal logic

This commit is contained in:
Joice M. Joseph
2025-06-04 12:50:45 +05:30
parent da717474cb
commit 8506229515
+1 -1
View File
@@ -426,7 +426,7 @@ func (s3 *S3) renewIAMToken() error {
return nil
}
if time.Since(s3.expiry) > 0 {
if time.Since(s3.expiry) < 0 {
return nil
}