From b6a95ae879dc1f1896963b0407f6694ee7c762df Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Tue, 26 Mar 2024 12:57:46 +0100 Subject: [PATCH] Change duplicate message key in logs while updating ephemeral runner status (#3380) --- controllers/actions.github.com/ephemeralrunner_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/actions.github.com/ephemeralrunner_controller.go b/controllers/actions.github.com/ephemeralrunner_controller.go index e5f5b30e..d90f6459 100644 --- a/controllers/actions.github.com/ephemeralrunner_controller.go +++ b/controllers/actions.github.com/ephemeralrunner_controller.go @@ -685,7 +685,7 @@ func (r *EphemeralRunnerReconciler) updateRunStatusFromPod(ctx context.Context, return nil } - log.Info("Updating ephemeral runner status with pod phase", "phase", pod.Status.Phase, "reason", pod.Status.Reason, "message", pod.Status.Message) + log.Info("Updating ephemeral runner status with pod phase", "statusPhase", pod.Status.Phase, "statusReason", pod.Status.Reason, "statusMessage", pod.Status.Message) err := patchSubResource(ctx, r.Status(), ephemeralRunner, func(obj *v1alpha1.EphemeralRunner) { obj.Status.Phase = pod.Status.Phase obj.Status.Ready = obj.Status.Ready || (pod.Status.Phase == corev1.PodRunning)