diff --git a/internal/broker/bind_delete.go b/internal/broker/bind_delete.go index d5366c60f..a795fd476 100644 --- a/internal/broker/bind_delete.go +++ b/internal/broker/bind_delete.go @@ -37,7 +37,6 @@ func (b *UnbindEndpoint) Unbind(ctx context.Context, instanceID, bindingID strin instance, err := b.instancesStorage.GetByID(instanceID) switch { case dberr.IsNotFound(err): - err = b.bindingsStorage.Delete(instanceID, bindingID) if err != nil { b.log.Errorf("Unbind error during removal of db entity: %v", err) return domain.UnbindSpec{}, apiresponses.NewFailureResponse(fmt.Errorf("failed to delete binding for binding %s and not existing instance %s: %v", bindingID, instanceID, err), http.StatusInternalServerError, fmt.Sprintf("failed to delete resources for binding %s and not existing instance %s: %v", bindingID, instanceID, err))