Use EventTypeWarning instead of EventTypeNormal

This commit is contained in:
zhangxiaoyu-zidif
2017-04-17 20:23:45 +08:00
parent 39713aca4e
commit 58d835aef5
3 changed files with 3 additions and 3 deletions

View File

@@ -615,7 +615,7 @@ func (fdc *DeploymentController) reconcileDeployment(key string) (reconciliation
return statusAllOk, nil
}
err = fdc.fedUpdater.UpdateWithOnError(operations, updateTimeout, func(op fedutil.FederatedOperation, operror error) {
fdc.eventRecorder.Eventf(fd, api.EventTypeNormal, "FailedUpdateInCluster",
fdc.eventRecorder.Eventf(fd, api.EventTypeWarning, "FailedUpdateInCluster",
"Deployment update in cluster %s failed: %v", op.ClusterName, operror)
})
if err != nil {