clean: update rollout status log info (#164)

Signed-off-by: likakuli <1154584512@qq.com>
This commit is contained in:
likakuli 2023-08-15 20:23:43 +08:00 committed by GitHub
parent 29862589aa
commit 657c6d8079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -192,8 +192,8 @@ func (r *RolloutReconciler) updateRolloutStatusInternal(rollout *v1alpha1.Rollou
klog.Errorf("update rollout(%s/%s) status failed: %s", rollout.Namespace, rollout.Name, err.Error())
return err
}
rollout.Status = newStatus
klog.Infof("rollout(%s/%s) status from(%s) -> to(%s) success", rollout.Namespace, rollout.Name, util.DumpJSON(rollout.Status), util.DumpJSON(newStatus))
rollout.Status = newStatus
return nil
}