fix: corrected log message
This commit is contained in:
parent
0569c33633
commit
ebd5c46092
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ var generateCmd = &cobra.Command{
|
|||
if verbose {
|
||||
b, err := json.MarshalIndent(conf, "", " ")
|
||||
if err != nil {
|
||||
log.Error().Err(err).Printf("failed to marshal config")
|
||||
log.Error().Err(err).Msg("failed to marshal config")
|
||||
}
|
||||
// print the config file as JSON
|
||||
fmt.Printf("%v\n", string(b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue