Skip to content

Commit c1db7db

Browse files
committed
err undefined
Signed-off-by: Kevin <[email protected]>
1 parent e363dd6 commit c1db7db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/raycluster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (r *RayClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request)
214214
// - Or fallback to the well-known defaults
215215
var kubeRayNamespaces []string
216216
dsci := &dsciv1.DSCInitialization{}
217-
err = r.Client.Get(ctx, client.ObjectKey{Name: "default-dsci"}, dsci)
217+
err := r.Client.Get(ctx, client.ObjectKey{Name: "default-dsci"}, dsci)
218218
if errors.IsNotFound(err) {
219219
kubeRayNamespaces = []string{"opendatahub", "redhat-ods-applications"}
220220
} else if err != nil {

0 commit comments

Comments
 (0)