Skip to content

Commit

Permalink
Change log message to V(2), be sure to pass strings so it doesn't pan…
Browse files Browse the repository at this point in the history
…ic (#1069)

* Change log message to V(2), be sure to pass strings so it doesn't panic

Signed-off-by: Kevin Earls <kearls@redhat.com>

* Changed log message to use V(1), updated parameters

Signed-off-by: Kevin Earls <kearls@redhat.com>

Signed-off-by: Kevin Earls <kearls@redhat.com>
  • Loading branch information
kevinearls authored Sep 1, 2022
1 parent c1546e3 commit 19c186d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (c *Config) AutoDetect() error {
return err
}
c.autoscalingVersion = hpaVersion
c.logger.Info("In Autodetect, Set HPA version to [", c.autoscalingVersion, "] from [", hpaVersion, "]")
c.logger.V(1).Info("autoscaling version detected", "autoscaling-version", c.autoscalingVersion.String())

return nil
}
Expand Down

0 comments on commit 19c186d

Please sign in to comment.