Skip to content

Commit

Permalink
Merge pull request #193 from interma/fix-logr-usage
Browse files Browse the repository at this point in the history
🐛 fix incorrect logr usage
  • Loading branch information
k8s-ci-robot authored Nov 28, 2018
2 parents e333fdf + c66fe39 commit 5675a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/source/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ func (ks *Kind) Start(handler handler.EventHandler, queue workqueue.RateLimiting
i, err := ks.cache.GetInformer(ks.Type)
if err != nil {
if kindMatchErr, ok := err.(*meta.NoKindMatchError); ok {
log.Error(err, "if %s is a CRD, should install it before calling Start",
kindMatchErr.GroupKind)
log.Error(err, "if kind is a CRD, it should be installed before calling Start",
"kind", kindMatchErr.GroupKind)
}
return err
}
Expand Down

0 comments on commit 5675a53

Please sign in to comment.