Skip to content

Commit

Permalink
Don't print redundant time unit in the log message (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
tczekajlo authored Sep 2, 2024
1 parent 86f91ec commit 2ac9c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/rayservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (r *RayServiceReconciler) Reconcile(ctx context.Context, request ctrl.Reque
}

if !isReady {
logger.Info(fmt.Sprintf("Ray Serve applications are not ready to serve requests: checking again in %ss", ServiceDefaultRequeueDuration))
logger.Info("Ray Serve applications are not ready to serve requests", "requeue_duration", ServiceDefaultRequeueDuration.String())
r.Recorder.Eventf(rayServiceInstance, "Normal", "ServiceNotReady", "The service is not ready yet. Controller will perform a round of actions in %s.", ServiceDefaultRequeueDuration)
return ctrl.Result{RequeueAfter: ServiceDefaultRequeueDuration}, nil
}
Expand Down

0 comments on commit 2ac9c44

Please sign in to comment.