Fix log in detector
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
This commit is contained in:
parent
85554ff187
commit
314e137e94
|
@ -371,7 +371,7 @@ func (d *ResourceDetector) LookForMatchedClusterPolicy(object *unstructured.Unst
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if len(policyObjects) == 0 {
|
if len(policyObjects) == 0 {
|
||||||
klog.V(2).Infof("no propagationpolicy find.")
|
klog.V(2).Infof("no clusterpropagationpolicy find.")
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue