From 282291bb661d7703e582ea927b1b979745fa1b4b Mon Sep 17 00:00:00 2001 From: Stuart Leeks Date: Thu, 12 Dec 2019 03:51:56 +0000 Subject: [PATCH] Treat reconcile as successful even if the run has an error (#118) --- controllers/run_controller_databricks.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/controllers/run_controller_databricks.go b/controllers/run_controller_databricks.go index 914c031..3ca24b2 100644 --- a/controllers/run_controller_databricks.go +++ b/controllers/run_controller_databricks.go @@ -18,7 +18,6 @@ package controllers import ( "context" - "errors" "fmt" "reflect" "strings" @@ -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(),