You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# on the main branch
make kbcli
...
...
/home/glenn/ws/golang/bin/golangci-lint run ./...
WARN [config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`.
WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats`
pkg/cmd/kubeblocks/uninstall.go:356:24: printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
return errors.Errorf(errMsg.String())
^
pkg/cmd/cluster/config_edit.go:202:25: printf: non-constant format string in call to github.com/apecloud/kbcli/pkg/printer.Warning (govet)
printer.Warning(o.Out, promptStr)
^
pkg/cmd/cluster/config_ops.go:204:25: printf: non-constant format string in call to github.com/apecloud/kbcli/pkg/printer.Warning (govet)
printer.Warning(o.Out, restartConfirmPrompt)
^
pkg/cmd/cluster/config_ops.go:217:30: printf: non-constant format string in call to github.com/apecloud/kubeblocks/pkg/configuration/core.MakeError (govet)
return nil, core.MakeError(missingUpdatedParametersErrMessage)
^
pkg/cmd/cluster/config_wrapper.go:117:25: printf: non-constant format string in call to github.com/apecloud/kubeblocks/pkg/configuration/core.MakeError (govet)
return core.MakeError(multiComponentsErrorMessage)
^
pkg/cmd/cluster/config_wrapper.go:156:25: printf: non-constant format string in call to github.com/apecloud/kubeblocks/pkg/configuration/core.MakeError (govet)
return core.MakeError(multiConfigTemplateErrorMessage)
^
pkg/cmd/playground/destroy.go:155:27: printf: non-constant format string in call to github.com/apecloud/kbcli/pkg/printer.Warning (govet)
printer.Warning(o.Out, err.Error())
^
pkg/cmd/playground/init.go:484:23: printf: non-constant format string in call to fmt.Fprintf (govet)
fmt.Fprintf(o.Out, strings.Split(errMsg, ",")[0]+"\n")
^
make: *** [Makefile:123: golangci-lint] Error 1
please fix the problem if possible
The text was updated successfully, but these errors were encountered:
Describe the bug
please fix the problem if possible
The text was updated successfully, but these errors were encountered: