summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/secrets_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/test/secrets_test.go')
-rw-r--r--pkg/bindings/test/secrets_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/test/secrets_test.go b/pkg/bindings/test/secrets_test.go
index 377f49b2f..b4595f025 100644
--- a/pkg/bindings/test/secrets_test.go
+++ b/pkg/bindings/test/secrets_test.go
@@ -64,7 +64,7 @@ var _ = Describe("Podman secrets", func() {
Expect(data.Spec.Name).To(Equal(name))
// inspecting non-existent secret should fail
- data, err = secrets.Inspect(connText, "notasecret", nil)
+ _, err = secrets.Inspect(connText, "notasecret", nil)
code, _ := bindings.CheckResponseCode(err)
Expect(code).To(BeNumerically("==", http.StatusNotFound))
})