Commit 0a60d19e authored by yue9944882's avatar yue9944882

fixes reversed owner relation in error msg

parent 07a5488b
...@@ -457,7 +457,7 @@ func (gc *GarbageCollector) attemptToDeleteItem(item *node) error { ...@@ -457,7 +457,7 @@ func (gc *GarbageCollector) attemptToDeleteItem(item *node) error {
switch { switch {
case len(solid) != 0: case len(solid) != 0:
klog.V(2).Infof("object %#v has at least one existing owner: %#v, will not garbage collect", solid, item.identity) klog.V(2).Infof("object %#v has at least one existing owner: %#v, will not garbage collect", item.identity, solid)
if len(dangling) == 0 && len(waitingForDependentsDeletion) == 0 { if len(dangling) == 0 && len(waitingForDependentsDeletion) == 0 {
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment