mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
fix: log override for local store too
This commit is contained in:
parent
5d9afebcb1
commit
26e39d777b
1 changed files with 2 additions and 0 deletions
|
|
@ -98,9 +98,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