diff --git a/cmd/migrate/config.go b/cmd/migrate/config.go index a03097618..a0ed649c1 100644 --- a/cmd/migrate/config.go +++ b/cmd/migrate/config.go @@ -1,3 +1,4 @@ +//nolint:unused package main import "github.com/spf13/pflag" diff --git a/cmd/migrate/main.go b/cmd/migrate/main.go index b6188d95f..3277f91c6 100644 --- a/cmd/migrate/main.go +++ b/cmd/migrate/main.go @@ -16,7 +16,7 @@ import ( func init() { pflag.Parse() - viper.BindPFlags(pflag.CommandLine) + _ = viper.BindPFlags(pflag.CommandLine) viper.AutomaticEnv() viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) viper.AddConfigPath(viper.GetString("config.source"))