Skip to content

Commit

Permalink
Fix e2e/ctl_v3_auth_test.go:123:5: declaration of err shadows declara…
Browse files Browse the repository at this point in the history
…tion at line 106

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
  • Loading branch information
ahrtr committed Oct 24, 2024
1 parent 2f36df8 commit 6ef1c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/ctl_v3_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 6ef1c8c

Please sign in to comment.