Skip to content

Commit

Permalink
fix: missing variable expension in WithValues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgacsal committed Jan 18, 2022
1 parent 9a98173 commit 7edb7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logger/logsink.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (log *SpinnerLogSink) WithName(name string) logr.LogSink {
// WithValues implements logr.LogSink interface
func (log *SpinnerLogSink) WithValues(keysAndValues ...interface{}) logr.LogSink {
l := log.copyLogger()
l.values = append(l.values, keysAndValues)
l.values = append(l.values, keysAndValues...)

return l
}
Expand Down

0 comments on commit 7edb7e7

Please sign in to comment.