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) }