Skip to content

Commit

Permalink
OSSM-6818: Update TestMustGather image repo (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
unsortedhashsets authored Aug 8, 2024
1 parent 02058d6 commit de46c7e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkg/util/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,7 @@ func GetTestGroup() string {
}

func GetMustGatherImage() string {
operatorVersion := GetOperatorVersion()
if operatorVersion.LessThan(version.OPERATOR_2_6_0) {
return "registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:" + GetMustGatherTag()
} else {
// https://issues.redhat.com/browse/OSSM-6818
// TODO: Else conditional should be errased after 2.6.0 release
return "brew.registry.redhat.io/rh-osbs/openshift-service-mesh-istio-must-gather-rhel8:2.6.0"
}
return getenv("MUST_GATHER_IMAGE", "registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:"+GetMustGatherTag())
}

func GetMustGatherTag() string {
Expand Down

0 comments on commit de46c7e

Please sign in to comment.