Skip to content

Commit

Permalink
Adapt to HttpClientOptions changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Nov 9, 2023
1 parent b99c881 commit c4a1fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/vertx/ext/consul/ConsulClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ public ConsulClientOptions setVerifyHost(boolean verifyHost) {
* @return a reference to this, so the API can be used fluently
*/
@Override
public ConsulClientOptions setTryUseCompression(boolean tryUseCompression) {
return (ConsulClientOptions) super.setTryUseCompression(tryUseCompression);
public WebClientOptions setDecompressionSupported(boolean tryUseCompression) {
return super.setDecompressionSupported(tryUseCompression);
}

/**
Expand Down

0 comments on commit c4a1fac

Please sign in to comment.