From 2be4360baca8512bcd33c99546be5d87eaaf5101 Mon Sep 17 00:00:00 2001 From: Kuba Date: Mon, 5 Feb 2024 19:39:46 +0700 Subject: [PATCH] feat(BUX-000): remove flags from config dump --- config/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/flags.go b/config/flags.go index a7524102b..96fd6c999 100644 --- a/config/flags.go +++ b/config/flags.go @@ -30,7 +30,7 @@ func loadFlags() error { os.Exit(1) } - err = viper.BindPFlags(buxFlags) + err = viper.BindPFlag(ConfigFilePathKey, buxFlags.Lookup(ConfigFilePathKey)) if err != nil { return err }