From 4bfbf332499fc8aea5f6df6aae1efa0de918d1ae Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 25 Jun 2025 17:37:18 +0200 Subject: [PATCH] fix: linting issues --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 58179daf..711c2d2b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -276,7 +276,7 @@ func getRunParams(flags *pflag.FlagSet, st *storage.Storage) *settings.Server { // if a flag is binded. Our alternative way is to manually check // the flag and then the value from env/config/gotten by viper. // https://github.com/spf13/viper/pull/331 -func getBoolParamB(flags *pflag.FlagSet, key string) (value bool, ok bool) { +func getBoolParamB(flags *pflag.FlagSet, key string) (value, ok bool) { value, _ = flags.GetBool(key) // If set on Flags, use it.