Skip to content

Commit

Permalink
fixup! Add kubernetes host to the no proxy list
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed Jan 18, 2024
1 parent 027e0a6 commit 23d6fb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/deploy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ func ReadCheClusterProxyConfiguration(ctx *chetypes.DeployContext) (*chetypes.Pr
}

func MergeNonProxy(noProxy1 string, noProxy2 string) string {
if noProxy1 == "" && noProxy2 == "" {
return ""
} else if noProxy1 == "" {
if noProxy1 == "" {
return noProxy2
} else if noProxy2 == "" {
return noProxy1
Expand Down

0 comments on commit 23d6fb3

Please sign in to comment.