Skip to content

Commit

Permalink
devdb: remove SetStatus step, it already handle by caller
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Apr 11, 2024
1 parent 5201d4b commit 851dc88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/devdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ type (
resourceOwner interface {
metav1.Object
runtime.Object
SetNotReady(reason, message string)
}
)

Expand Down Expand Up @@ -142,7 +141,6 @@ func (r *devDBReconciler) devURL(ctx context.Context, sc resourceOwner, targetUR
return "", transientAfter(errors.New("waiting for dev database to be ready"), 15*time.Second)
default:
// An error occurred while getting the dev database,
sc.SetNotReady("GettingDevDB", err.Error())
return "", err
}
pods := &corev1.PodList{}
Expand Down

0 comments on commit 851dc88

Please sign in to comment.