Skip to content

Commit 5596607

Browse files
committed
fix go vet error
1 parent 16f5898 commit 5596607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openshift/tests-extension/test/qe/specs/olmv1_cc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var _ = g.Describe("[sig-olmv1][Jira:OLM] clustercatalog", g.Label("NonHyperShif
3434
crds, err := oc.WithoutNamespace().AsAdmin().Run("get").Args("crd").Output()
3535
o.Expect(err).NotTo(o.HaveOccurred())
3636
if strings.Contains(crds, "bundlemetadata") || strings.Contains(crds, "catalogmetadata") {
37-
e2e.Logf(crds)
37+
e2e.Logf("crds: %s", crds)
3838
o.Expect(strings.Contains(crds, "bundlemetadata")).NotTo(o.BeTrue())
3939
o.Expect(strings.Contains(crds, "catalogmetadata")).NotTo(o.BeTrue())
4040
} else {
@@ -277,11 +277,11 @@ var _ = g.Describe("[sig-olmv1][Jira:OLM] clustercatalog", g.Label("NonHyperShif
277277
stringMessage, err := exec.Command("bash", "-c", getCmd).Output()
278278
o.Expect(err).NotTo(o.HaveOccurred())
279279
if !strings.Contains(strings.ToLower(string(stringMessage)), "content-encoding: gzip") {
280-
e2e.Logf(string(stringMessage))
280+
e2e.Logf("response is %s", string(stringMessage))
281281
e2e.Failf("string Content-Encoding: gzip not in the output")
282282
}
283283
if !strings.Contains(strings.ToLower(string(stringMessage)), "content-type: application/jsonl") {
284-
e2e.Logf(string(stringMessage))
284+
e2e.Logf("response is %s", string(stringMessage))
285285
e2e.Failf("string Content-Type: application/jsonl not in the output")
286286
}
287287
g.By("Check the url response of clustercatalog-75441v2")

0 commit comments

Comments
 (0)