Skip to content

Commit

Permalink
fix log labels
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Oct 28, 2024
1 parent 9f490ee commit 466bec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/helm/helm3/helm3.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var _ client.HelmClient = &Helm3Client{}
func NewClient(logger *log.Logger, logLabels ...map[string]string) client.HelmClient {
logEntry := logger.With("operator.component", "helm")
if len(logLabels) > 0 {
logEntry = logEntry.With(utils.EnrichLoggerWithLabels(logEntry, logLabels[0]))
logEntry = utils.EnrichLoggerWithLabels(logEntry, logLabels[0])
}

return &Helm3Client{
Expand Down

0 comments on commit 466bec6

Please sign in to comment.