Skip to content

Commit

Permalink
additional linting
Browse files Browse the repository at this point in the history
  • Loading branch information
blublinsky committed Mar 1, 2024
1 parent e2b9815 commit 65e65df
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apiserver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ undeploy-operator: ## Undeploy operator via helm from the K8s cluster specified
.PHONY: load-operator-image
load-operator-image: ## Load the operator image to the kind cluster created with make cluster.
ifneq (${OPERATOR_IMAGE_TAG}, latest)
$(ENGINE) pull kuberay/operator:$(OPERATOR_IMAGE_TAG)
$(ENGINE) pull quay.io/kuberay/operator:$(OPERATOR_IMAGE_TAG)
endif
$(KIND) load docker-image kuberay/operator:$(OPERATOR_IMAGE_TAG) -n $(KIND_CLUSTER_NAME)
$(KIND) load docker-image quay.io/kuberay/operator:$(OPERATOR_IMAGE_TAG) -n $(KIND_CLUSTER_NAME)

.PHONY: load-security-proxy-image
load-security-proxy-image: ## Load the security proxy image to the kind cluster created with make cluster.
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/common/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,4 +904,4 @@ func ValidateHeadRayStartParams(ctx context.Context, rayHeadGroupSpec rayv1.Head
}
// default return
return true, nil
}
}
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 @@ -1232,4 +1232,4 @@ func (r *RayServiceReconciler) getHeadPod(ctx context.Context, instance *rayv1.R
}

return &podList.Items[0], nil
}
}
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/utils/dashboard_httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,4 @@ func UnmarshalRuntimeEnvYAML(runtimeEnvYAML string) (RuntimeEnvType, error) {
return nil, fmt.Errorf("failed to unmarshal RuntimeEnvYAML: %v: %v", runtimeEnvYAML, err)
}
return runtimeEnv, nil
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ func (r *FakeRayDashboardClient) StopJob(_ context.Context, jobName string) (err

func (r *FakeRayDashboardClient) DeleteJob(_ context.Context, jobName string) error {
return nil
}
}
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/utils/serve_api_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ type ServeApplicationDetails struct {
type ServeDetails struct {
Applications map[string]ServeApplicationDetails `json:"applications"`
DeployMode string `json:"deploy_mode,omitempty"`
}
}

0 comments on commit 65e65df

Please sign in to comment.