[garbage collector] fix log info

This commit is contained in:
Cao Shufeng 2018-01-01 15:08:03 +08:00
parent da9a4d5da9
commit 5c4ce2a626

View File

@ -128,7 +128,7 @@ func (gc *GarbageCollector) removeFinalizer(owner *node, targetFinalizer string)
newFinalizers = append(newFinalizers, f)
}
if !found {
glog.V(5).Infof("the orphan finalizer is already removed from object %s", owner.identity)
glog.V(5).Infof("the %s finalizer is already removed from object %s", targetFinalizer, owner.identity)
return nil
}
// remove the owner from dependent's OwnerReferences