You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "github-code-scanning[bot] (via GitHub)" <gi...@apache.org> on 2023/03/07 03:50:30 UTC

[GitHub] [druid] github-code-scanning[bot] commented on a diff in pull request #13880: Use base task dir in kubernetes task runner

github-code-scanning[bot] commented on code in PR #13880:
URL: https://github.com/apache/druid/pull/13880#discussion_r1127312667


##########
extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/KubernetesTaskRunner.java:
##########
@@ -346,7 +345,7 @@
   {
     final List<String> command = new ArrayList<>();
     command.add("/peon.sh");
-    command.add(dirTracker.getBaseTaskDir(task.getId()).getAbsolutePath());
+    command.add(taskConfig.getBaseTaskDirPath());

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [TaskConfig.getBaseTaskDirPath](1) should be avoided because it has been deprecated.
   
   [Show more details](https://github.com/apache/druid/security/code-scanning/4379)



-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org