Skip to content

Commit 63e6de2

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

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
@@ -206,7 +206,7 @@ func (r *RayClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request)
206206
// - Or fallback to the well-known defaults
207207
var kubeRayNamespaces []string
208208
dsci := &dsciv1.DSCInitialization{}
209-
err = r.Client.Get(ctx, client.ObjectKey{Name: "default-dsci"}, dsci)
209+
err := r.Client.Get(ctx, client.ObjectKey{Name: "default-dsci"}, dsci)
210210
if errors.IsNotFound(err) {
211211
kubeRayNamespaces = []string{"opendatahub", "redhat-ods-applications"}
212212
} else if err != nil {

0 commit comments

Comments
 (0)