Skip to content

Commit 5675a53

Browse files
authored
Merge pull request #193 from interma/fix-logr-usage
🐛 fix incorrect logr usage
2 parents e333fdf + c66fe39 commit 5675a53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/source/source.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ func (ks *Kind) Start(handler handler.EventHandler, queue workqueue.RateLimiting
8686
i, err := ks.cache.GetInformer(ks.Type)
8787
if err != nil {
8888
if kindMatchErr, ok := err.(*meta.NoKindMatchError); ok {
89-
log.Error(err, "if %s is a CRD, should install it before calling Start",
90-
kindMatchErr.GroupKind)
89+
log.Error(err, "if kind is a CRD, it should be installed before calling Start",
90+
"kind", kindMatchErr.GroupKind)
9191
}
9292
return err
9393
}

0 commit comments

Comments
 (0)