Skip to content

Commit b6a95ae

Browse files
authored
Change duplicate message key in logs while updating ephemeral runner status (#3380)
1 parent 9968141 commit b6a95ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/actions.github.com/ephemeralrunner_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ func (r *EphemeralRunnerReconciler) updateRunStatusFromPod(ctx context.Context,
685685
return nil
686686
}
687687

688-
log.Info("Updating ephemeral runner status with pod phase", "phase", pod.Status.Phase, "reason", pod.Status.Reason, "message", pod.Status.Message)
688+
log.Info("Updating ephemeral runner status with pod phase", "statusPhase", pod.Status.Phase, "statusReason", pod.Status.Reason, "statusMessage", pod.Status.Message)
689689
err := patchSubResource(ctx, r.Status(), ephemeralRunner, func(obj *v1alpha1.EphemeralRunner) {
690690
obj.Status.Phase = pod.Status.Phase
691691
obj.Status.Ready = obj.Status.Ready || (pod.Status.Phase == corev1.PodRunning)

0 commit comments

Comments
 (0)