From d4443ac6c98ef6530357ddf59f71af86054940b5 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Wed, 19 Mar 2025 15:46:53 -0600 Subject: [PATCH] fix: added secrets file path to collect parameters --- cmd/collect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/collect.go b/cmd/collect.go index 68dad7b..f8804cc 100644 --- a/cmd/collect.go +++ b/cmd/collect.go @@ -71,6 +71,7 @@ var CollectCmd = &cobra.Command{ OutputPath: outputPath, ForceUpdate: forceUpdate, AccessToken: accessToken, + SecretsFile: secretsFile, } // show all of the 'collect' parameters being set from CLI if verbose @@ -85,7 +86,6 @@ var CollectCmd = &cobra.Command{ // Create a StaticSecretStore to hold the username and password fmt.Println(err) store = secrets.NewStaticStore(username, password) - } else { } _, err = magellan.CollectInventory(&scannedResults, params, store)