From 6ef1c8c02320a4e888486ba13d66f234f280cb58 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Thu, 24 Oct 2024 17:06:14 +0100 Subject: [PATCH] Fix e2e/ctl_v3_auth_test.go:123:5: declaration of err shadows declaration at line 106 Signed-off-by: Benjamin Wang --- tests/e2e/ctl_v3_auth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/ctl_v3_auth_test.go b/tests/e2e/ctl_v3_auth_test.go index d7f7a69ba7a..6c252e9c202 100644 --- a/tests/e2e/ctl_v3_auth_test.go +++ b/tests/e2e/ctl_v3_auth_test.go @@ -120,7 +120,7 @@ func authTestCertCN(cx ctlCtx) { // try a granted key cx.user, cx.pass = "", "" - if err := ctlV3Put(cx, "hoo", "bar", ""); err != nil { + if err = ctlV3Put(cx, "hoo", "bar", ""); err != nil { cx.t.Error(err) }