mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-31 17:02:52 +08:00
Couple remaining SelfLink references cleanup
Kubernetes-commit: b62774f2f7907e0d519026e8fc3cfaf50eaa5d31
This commit is contained in:
parent
f4ac6eb892
commit
735d680475
@ -376,7 +376,7 @@ func (c *Controller) handleObject(obj interface{}) {
|
|||||||
|
|
||||||
foo, err := c.foosLister.Foos(object.GetNamespace()).Get(ownerRef.Name)
|
foo, err := c.foosLister.Foos(object.GetNamespace()).Get(ownerRef.Name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.V(4).Infof("ignoring orphaned object '%s' of foo '%s'", object.GetSelfLink(), ownerRef.Name)
|
klog.V(4).Infof("ignoring orphaned object '%s/%s' of foo '%s'", object.GetNamespace(), object.GetName(), ownerRef.Name)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user