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

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheDeveloper committed Oct 30, 2019
1 parent eaf6498 commit 0e2caa8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/run_controller_databricks.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package controllers

import (
"context"
"errors"
"fmt"
"reflect"
"strings"
"time"
"errors"

databricksv1alpha1 "github.com/microsoft/azure-databricks-operator/api/v1alpha1"
dbmodels "github.com/xinsnake/databricks-sdk-golang/azure/models"
Expand Down Expand Up @@ -104,8 +104,8 @@ func (r *RunReconciler) refresh(instance *databricksv1alpha1.Run) error {
if err != nil {
return err
}
if (len(runOutput.Error) > 0){
return errors.New(runOutput.Error)
if len(runOutput.Error) > 0 {
return errors.New(runOutput.Error)
}

err = r.Get(context.Background(), types.NamespacedName{
Expand Down

0 comments on commit 0e2caa8

Please sign in to comment.