Skip to content

Commit

Permalink
fix incorrect logr usage
Browse files Browse the repository at this point in the history
  • Loading branch information
interma committed Nov 1, 2018
1 parent a8ea205 commit efff64f
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, "Kind should be installed before calling Start",
"kind", kindMatchErr.GroupKind)
}
return err
}
Expand Down

0 comments on commit efff64f

Please sign in to comment.