Skip to content

Commit b76f444

Browse files
authored
Fix for timeout issue while reaching to private IAM endpoint on satellite cluster (#21)
1 parent f725cf0 commit b76f444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/authenticator/authenticator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func parseIBMCloudCredentials(logger *zap.Logger, data string) (map[string]strin
215215
// isTimeout ...
216216
func isTimeout(err error) bool {
217217
// If the error message contains "Client.Timeout" substring, return true
218-
if strings.Contains(err.Error(), "Client.Timeout") {
218+
if strings.Contains(strings.ToLower(err.Error()), "timeout") {
219219
return true
220220
}
221221
return false

0 commit comments

Comments
 (0)