zentol commented on a change in pull request #7927: [FLINK-11603][metrics] Port
the MetricQueryService to the new RpcEndpoint
URL: https://github.com/apache/flink/pull/7927#discussion_r267354546
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/webmonitor/TestingRestfulGateway.java
##########
@@ -269,13 +270,13 @@ public Builder
setRequestClusterOverviewSupplier(Supplier<CompletableFuture<Clus
return this;
}
- public Builder
setRequestMetricQueryServicePathsSupplier(Supplier<CompletableFuture<Collection<String>>>
requestMetricQueryServicePathsSupplier) {
- this.requestMetricQueryServicePathsSupplier =
requestMetricQueryServicePathsSupplier;
+ public Builder
setRequestMetricQueryServiceGatewaysSupplier(Supplier<CompletableFuture<Collection<MetricQueryServiceGateway>>>
requestMetricQueryServiceGatewaysSupplier) {
+ this.requestMetricQueryServiceGatewaysSupplier =
requestMetricQueryServiceGatewaysSupplier;
return this;
}
- public Builder
setRequestTaskManagerMetricQueryServicePathsSupplier(Supplier<CompletableFuture<Collection<Tuple2<ResourceID,
String>>>> requestTaskManagerMetricQueryServicePathsSupplier) {
- this.requestTaskManagerMetricQueryServicePathsSupplier
= requestTaskManagerMetricQueryServicePathsSupplier;
+ public Builder
setRequestTaskManagerMetricQueryServiceGatewaysSupplier(Supplier<CompletableFuture<Collection<Tuple2<ResourceID,
MetricQueryServiceGateway>>>>
requestTaskManagerMetricQueryServiceGatewaysSupplier) {
Review comment:
typo: remove s in `Gateways`, also applies to field and
´requestTaskManagerMetricQueryServiceGateways`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services