Skip to content

Commit

Permalink
Fix for timeout issue while reaching to private IAM endpoint on satel…
Browse files Browse the repository at this point in the history
…lite cluster (#21)
  • Loading branch information
GunaKKIBM authored Apr 28, 2023
1 parent f725cf0 commit b76f444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/authenticator/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func parseIBMCloudCredentials(logger *zap.Logger, data string) (map[string]strin
// isTimeout ...
func isTimeout(err error) bool {
// If the error message contains "Client.Timeout" substring, return true
if strings.Contains(err.Error(), "Client.Timeout") {
if strings.Contains(strings.ToLower(err.Error()), "timeout") {
return true
}
return false
Expand Down

0 comments on commit b76f444

Please sign in to comment.