*: fix govet-shadow lint

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu
2023-09-18 19:58:29 +08:00
parent c70ac642ae
commit 5e3910d96c
44 changed files with 184 additions and 141 deletions

View File

@ -190,7 +190,7 @@ func TestBootstrapBackend(t *testing.T) {
}
if tt.prepareData != nil {
if err := tt.prepareData(cfg); err != nil {
if err = tt.prepareData(cfg); err != nil {
t.Fatalf("failed to prepare data, unexpected error: %v", err)
}
}