mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
fix: log override for local store too
This commit is contained in:
parent
db6d958934
commit
f6864bd3f5
1 changed files with 2 additions and 0 deletions
|
|
@ -94,9 +94,11 @@ var CollectCmd = &cobra.Command{
|
|||
log.Error().Str("id", k).Err(err).Msg("failed to override BMC credentials")
|
||||
} else {
|
||||
if username != "" {
|
||||
log.Info().Msg("--username passed, overriding all usernames with value")
|
||||
creds.Username = username
|
||||
}
|
||||
if password != "" {
|
||||
log.Info().Msg("--password passed, overriding all passwords with value")
|
||||
creds.Password = password
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue