fix: added secrets file path to collect parameters

This commit is contained in:
David Allen 2025-03-19 15:46:53 -06:00 committed by David Allen
parent a4928b9ebb
commit d4443ac6c9
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -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)