Skip to content

Commit

Permalink
Merge pull request #201 from darkowlzz/config-log
Browse files Browse the repository at this point in the history
fix: set config logger
  • Loading branch information
ekristen authored Jun 25, 2024
2 parents c6b7a1e + c7cf885 commit b33d0fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/commands/nuke/nuke.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func execute(c *cli.Context) error { //nolint:funlen,gocyclo
parsedConfig, err := config.New(libconfig.Options{
Path: c.Path("config"),
Deprecations: registry.GetDeprecatedResourceTypeMapping(),
Log: logrus.WithField("component", "config"),
})
if err != nil {
logrus.Errorf("Failed to parse config file %s", c.Path("config"))
Expand Down

0 comments on commit b33d0fd

Please sign in to comment.