mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
refactor: change error message to warning
This commit is contained in:
parent
5c624de821
commit
4dd01867f7
2 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ var CollectCmd = &cobra.Command{
|
|||
if err != nil {
|
||||
// Something went wrong with the store so try using
|
||||
// Create a StaticSecretStore to hold the username and password
|
||||
fmt.Println(err)
|
||||
log.Warn().Err(err).Msg("failed to open local store")
|
||||
store = secrets.NewStaticStore(username, password)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ var secretsStoreCmd = &cobra.Command{
|
|||
secretValue = args[1]
|
||||
}
|
||||
|
||||
// handle input file format
|
||||
switch secretsStoreFormat {
|
||||
case "base64":
|
||||
decoded, err := base64.StdEncoding.DecodeString(secretValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue