Skip to content

Commit

Permalink
fix stopConnector override with new retry mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Dugong42 committed Jan 3, 2025
1 parent c954409 commit c5e1edb
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,19 @@ public Mono<Void> pauseConnector(String connectorName) throws WebClientResponseE
return withRetryOnConflictOrRebalance(super.pauseConnector(connectorName));
}

@Override
public Mono<ResponseEntity<Void>> pauseConnectorWithHttpInfo(String connectorName) throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.pauseConnectorWithHttpInfo(connectorName));
}

@Override
public Mono<Void> stopConnector(String connectorName) throws WebClientResponseException {
return withRetryOnConflict(super.stopConnector(connectorName));
return withRetryOnConflictOrRebalance(super.stopConnector(connectorName));
}

@Override
public Mono<ResponseEntity<Void>> pauseConnectorWithHttpInfo(String connectorName) throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.pauseConnectorWithHttpInfo(connectorName));
public Mono<ResponseEntity<Void>> stopConnectorWithHttpInfo(String connectorName) throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.stopConnectorWithHttpInfo(connectorName));
}

@Override
Expand Down

0 comments on commit c5e1edb

Please sign in to comment.