fix error of reflectStatus failed when call resourceInterpreter

Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
changzhen 2022-08-26 11:43:33 +08:00
parent f70fe8a0e6
commit cab85d967e
1 changed files with 1 additions and 0 deletions

View File

@ -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 {