mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
fix: added secrets file path to collect parameters
This commit is contained in:
parent
ceeaa5d891
commit
053773d90c
1 changed files with 1 additions and 1 deletions
|
|
@ -67,6 +67,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
|
||||
|
|
@ -81,7 +82,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue