Skip to content

Commit b99dae3

Browse files
committed
chore(test): Static analysis fixes
Signed-off-by: Oliver Gondža <[email protected]>
1 parent b3b4a0c commit b99dae3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/openshift/e2e/ginkgo/parallel/1-120_validate_running_must_gather.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import (
4343
// CI images:
4444
// - quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-must-gather:on-pr-<GIT_COMMIT_SHA>
4545
// - quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-must-gather:<GIT_COMMIT_SHA>
46+
// - quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-must-gather:latest # For main branch.
4647
const defaultMustGatherImage = "quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/gitops-must-gather:latest"
4748

4849
var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
@@ -142,7 +143,7 @@ func resourcesDir(destDir string) string {
142143
}
143144
}
144145

145-
Expect(len(subdirs)).To(Equal(1), "Expected exactly one subdirectory, found: %v", subdirs)
146+
Expect(subdirs).To(HaveLen(1), "Expected exactly one subdirectory, found: %v", subdirs)
146147
return path.Join(destDir, subdirs[0])
147148
}
148149

0 commit comments

Comments
 (0)