[ 
https://issues.apache.org/jira/browse/FLINK-7638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16174507#comment-16174507
 ] 

ASF GitHub Bot commented on FLINK-7638:
---------------------------------------

Github user tzulitai commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4688#discussion_r140193760
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/legacy/CurrentJobsOverviewHandler.java
 ---
    @@ -69,6 +73,13 @@ public CurrentJobsOverviewHandler(
        }
     
        @Override
    +   public CompletableFuture<MultipleJobsDetails> 
handleRequest(HandlerRequest<EmptyRequestBody, EmptyMessageParameters> request, 
DispatcherGateway gateway) {
    +           CompletableFuture<MultipleJobsDetails> jobDetailsFuture = 
gateway.requestJobDetails(timeout);
    +
    +           return jobDetailsFuture;
    --- End diff --
    
    nit: might as well just make this a one-liner:
    `return gateway.requestJobDetails(timeout);`


> Port CurrentJobsOverviewHandler to new REST endpoint
> ----------------------------------------------------
>
>                 Key: FLINK-7638
>                 URL: https://issues.apache.org/jira/browse/FLINK-7638
>             Project: Flink
>          Issue Type: Sub-task
>          Components: REST, Webfrontend
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>              Labels: flip-6
>
> Port the existing {{CurrentJobsOverviewHandler}} to the new REST endpoint.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to