Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/raycluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ type RayClusterReconcilerOptions struct {

// Reconcile used to bridge the desired state with the current state
func (r *RayClusterReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {
var err error
ctx = ctrl.LoggerInto(ctx, r.Log) // TODO: add request namespace here
var err error

// Try to fetch the RayCluster instance
instance := &rayv1.RayCluster{}
Expand Down
1 change: 1 addition & 0 deletions ray-operator/controllers/ray/rayjob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func NewRayJobReconciler(mgr manager.Manager, dashboardClientFunc func() utils.R
// Automatically generate RBAC rules to allow the Controller to read and write workloads
// Reconcile used to bridge the desired state with the current state
func (r *RayJobReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {
ctx = ctrl.LoggerInto(ctx, r.Log)
r.Log.Info("reconciling RayJob", "NamespacedName", request.NamespacedName)

// Get RayJob instance
Expand Down