Skip to content

Commit

Permalink
else block added
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanabaza committed Sep 5, 2024
1 parent d827624 commit 95e3c5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ray-operator/controllers/ray/raycluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@ func (r *RayClusterReconciler) reconcilePods(ctx context.Context, instance *rayv
}
}
} else {
logger.Info("reconcilePods", "Worker Pod Name: ", workerPod.Name, " Status: ", workerPod.Status.Phase)
logger.Info("reconcilePods",
"Worker Pod Name", workerPod.Name,
"Status", workerPod.Status.Phase)
}
shouldDelete, reason := shouldDeletePod(workerPod, rayv1.WorkerNode)
logger.Info("reconcilePods", "worker Pod", workerPod.Name, "shouldDelete", shouldDelete, "reason", reason)
Expand Down

0 comments on commit 95e3c5c

Please sign in to comment.