Skip to content

Commit

Permalink
Merge pull request #80200 from Huang-Wei/tolerant-event-related
Browse files Browse the repository at this point in the history
Tolerate the case if `related` event cannot be found
  • Loading branch information
k8s-ci-robot authored Jul 16, 2019
2 parents 8e3a2f2 + 187fc29 commit 0791f5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (recorder *recorderImpl) Eventf(regarding runtime.Object, related runtime.O
}
refRelated, err := reference.GetReference(recorder.scheme, related)
if err != nil {
klog.Errorf("Could not construct reference to: '%#v' due to: '%v'.", related, err)
klog.V(9).Infof("Could not construct reference to: '%#v' due to: '%v'.", related, err)
}
if !util.ValidateEventType(eventtype) {
klog.Errorf("Unsupported event type: '%v'", eventtype)
Expand Down

0 comments on commit 0791f5b

Please sign in to comment.