chore: fix all lint issue since golangci-lint bump (#21326)
This commit is contained in:
@@ -20,7 +20,7 @@ func TestVersionCommand_Error(t *testing.T) {
|
||||
rootCmd.SetOut(out)
|
||||
rootCmd.SetErr(out)
|
||||
|
||||
ctx := context.WithValue(context.Background(), log.ContextKey, logger)
|
||||
ctx := context.WithValue(context.Background(), log.ContextKey, logger) //nolint:staticcheck // temporary issue in dependency
|
||||
|
||||
require.Error(t, rootCmd.ExecuteContext(ctx))
|
||||
require.Contains(t, out.String(), "DAEMON_NAME is not set")
|
||||
|
||||
Reference in New Issue
Block a user