fix error of reflectStatus failed when call resourceInterpreter
Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
parent
f70fe8a0e6
commit
cab85d967e
|
@ -288,6 +288,7 @@ func (c *WorkStatusController) reflectStatus(work *workv1alpha1.Work, clusterObj
|
|||
if err != nil {
|
||||
klog.Errorf("Failed to reflect status for object(%s/%s/%s) with resourceInterpreter.",
|
||||
clusterObj.GetKind(), clusterObj.GetNamespace(), clusterObj.GetName(), err)
|
||||
return err
|
||||
}
|
||||
|
||||
if statusRaw == nil {
|
||||
|
|
Loading…
Reference in New Issue