Skip to content

Commit

Permalink
clean: update rollout status log info (#164)
Browse files Browse the repository at this point in the history
Signed-off-by: likakuli <[email protected]>
  • Loading branch information
likakuli authored Aug 15, 2023
1 parent 2986258 commit 657c6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/rollout/rollout_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 657c6d8

Please sign in to comment.