From 048b6459c342ec75ebfbc6b105891eae326af0b1 Mon Sep 17 00:00:00 2001 From: Cassandra Heart Date: Mon, 14 Oct 2024 16:44:03 -0700 Subject: [PATCH] don't locally shadow variable --- client/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/root.go b/client/cmd/root.go index 78f1e8d..8cf78ed 100644 --- a/client/cmd/root.go +++ b/client/cmd/root.go @@ -102,7 +102,7 @@ var rootCmd = &cobra.Command{ os.Exit(1) } - NodeConfig, err := config.LoadConfig(configDirectory, "", false) + NodeConfig, err = config.LoadConfig(configDirectory, "", false) if err != nil { fmt.Printf("invalid config directory: %s\n", configDirectory) os.Exit(1)