mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
chore: hide warn level if verbose not configured (#2466)
This commit is contained in:
parent
40a594f5fa
commit
b101106a05
@ -229,7 +229,7 @@ func (c *Config) GetStepConfig(flagValues map[string]interface{}, paramJSON stri
|
||||
|
||||
if verbose, ok := stepConfig.Config["verbose"].(bool); ok && verbose {
|
||||
log.SetVerbose(verbose)
|
||||
} else if !ok {
|
||||
} else if !ok && stepConfig.Config["verbose"] != nil {
|
||||
log.Entry().Warnf("invalid value for parameter verbose: '%v'", stepConfig.Config["verbose"])
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user