From b76f4448b3301656c18d2a5acba9ffb1ebdd0b44 Mon Sep 17 00:00:00 2001 From: GunaKKIBM <92353386+GunaKKIBM@users.noreply.github.com> Date: Fri, 28 Apr 2023 10:15:19 +0530 Subject: [PATCH] Fix for timeout issue while reaching to private IAM endpoint on satellite cluster (#21) --- pkg/authenticator/authenticator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/authenticator/authenticator.go b/pkg/authenticator/authenticator.go index ee966ee..ad9388f 100644 --- a/pkg/authenticator/authenticator.go +++ b/pkg/authenticator/authenticator.go @@ -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