Skip to content

Commit

Permalink
[Chore] remove unnecessary line break in log (#2709)
Browse files Browse the repository at this point in the history
Signed-off-by: fscnick <[email protected]>
  • Loading branch information
fscnick authored Jan 2, 2025
1 parent eb6605d commit 6350033
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ray-operator/controllers/ray/raycluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1532,9 +1532,7 @@ func (r *RayClusterReconciler) reconcileAutoscalerServiceAccount(ctx context.Con
actionableMessage := fmt.Sprintf("If users specify ServiceAccountName for the head Pod, they need to create a ServiceAccount themselves. "+
"However, ServiceAccount %s is not found. Please create one. See the PR description of https://github.com/ray-project/kuberay/pull/1128 for more details.", namespacedName.Name)

logger.Error(
err,
actionableMessage)
logger.Error(err, actionableMessage)
r.Recorder.Eventf(instance, corev1.EventTypeWarning, string(utils.AutoscalerServiceAccountNotFound), "Failed to reconcile RayCluster %s/%s. %s", instance.Namespace, instance.Name, actionableMessage)
return err
}
Expand Down

0 comments on commit 6350033

Please sign in to comment.