Gallardot commented on code in PR #14379:
URL: 
https://github.com/apache/dolphinscheduler/pull/14379#discussion_r1258318750


##########
dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/KubernetesApplicationManager.java:
##########
@@ -181,15 +181,15 @@ private TaskExecutionStatus 
getApplicationStatus(KubernetesApplicationManagerCon
     public LogWatch getPodLogWatcher(KubernetesApplicationManagerContext 
kubernetesApplicationManagerContext) {
         KubernetesClient client = 
getClient(kubernetesApplicationManagerContext);
         FilterWatchListDeletable<Pod, PodList, PodResource> watchList =
-                getDriverPod(kubernetesApplicationManagerContext);
-        List<Pod> driverPod = watchList.list().getItems();
-        if (CollectionUtils.isEmpty(driverPod)) {
+                getListenPod(kubernetesApplicationManagerContext);
+        List<Pod> podList = watchList.list().getItems();
+        if (CollectionUtils.isEmpty(podList)) {
             return null;
         }
-        Pod driver = driverPod.get(0);
+        Pod pod = podList.get(0);

Review Comment:
   Got it. After the current PR merge, we create a new issue to track the issue



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to