Skip to content

Commit

Permalink
added null-logger to render-template command (#282)
Browse files Browse the repository at this point in the history
Co-authored-by: Anders Kvanvig <[email protected]>
  • Loading branch information
Akvanvig and Anders Kvanvig authored Apr 9, 2024
1 parent d4e73ca commit 6fe65c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ enabled: true`,
},
Action: func(c *cli.Context) error {

config, err := agentConfig.Scan(collector.Directories(constants.GetConfigScanDirs()...), collector.NoLogs, collector.StrictValidation(c.Bool("strict-validation")))
config, err := agentConfig.ScanNoLogs(collector.Directories(constants.GetConfigScanDirs()...), collector.NoLogs, collector.StrictValidation(c.Bool("strict-validation")))
if err != nil {
return err
}
Expand Down

0 comments on commit 6fe65c4

Please sign in to comment.