Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Treat reconcile as successful even if the run has an error
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Nov 26, 2019
1 parent 5615c1f commit 43cfd55
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controllers/run_controller_databricks.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package controllers

import (
"context"
"errors"
"fmt"
"reflect"
"strings"
Expand Down Expand Up @@ -104,9 +103,6 @@ func (r *RunReconciler) refresh(instance *databricksv1alpha1.Run) error {
if err != nil {
return err
}
if len(runOutput.Error) > 0 {
return errors.New(runOutput.Error)
}

err = r.Get(context.Background(), types.NamespacedName{
Name: instance.GetName(),
Expand Down

0 comments on commit 43cfd55

Please sign in to comment.