We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c64e4a2 commit ef7ae8dCopy full SHA for ef7ae8d
pkg/common/infrastructure/cluster.go
@@ -77,7 +77,8 @@ func IsKubernetesImagePullerEnabled() bool {
77
78
func InitializeForTesting(desiredInfrastructure Type) {
79
infrastructure = desiredInfrastructure
80
- if infrastructure == OpenShiftV4 {
+
81
+ if IsOpenShift() {
82
isOpenShiftOAuthEnabled = true
83
} else {
84
isOpenShiftOAuthEnabled = false
0 commit comments