arjun4084346 commented on a change in pull request #2715: [GOBBLIN-860] Process 
flow-level events for setting/retrieving flow status
URL: https://github.com/apache/incubator-gobblin/pull/2715#discussion_r315395174
 
 

 ##########
 File path: 
gobblin-restli/gobblin-flow-config-service/gobblin-flow-config-service-server/src/main/java/org/apache/gobblin/service/FlowStatusResource.java
 ##########
 @@ -155,48 +152,11 @@ private FlowStatus 
convertFlowStatus(org.apache.gobblin.service.monitoring.FlowS
     return new FlowStatus()
         .setId(new 
FlowStatusId().setFlowGroup(flowId.getFlowGroup()).setFlowName(flowId.getFlowName())
             .setFlowExecutionId(monitoringFlowStatus.getFlowExecutionId()))
-        .setExecutionStatistics(new 
FlowStatistics().setExecutionStartTime(flowStartTime)
+        .setExecutionStatistics(new 
FlowStatistics().setExecutionStartTime(monitoringFlowStatus.getFlowExecutionId())
 
 Review comment:
   maybe create a method like DagManagerUtils.getFlowStartTime() for improved 
readability

----------------------------------------------------------------
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

Reply via email to