You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2020/04/23 12:58:09 UTC

[GitHub] [submarine] jiwq commented on a change in pull request #263: SUBMARINE-442. Support get job's log in submarine-server REST API

jiwq commented on a change in pull request #263:
URL: https://github.com/apache/submarine/pull/263#discussion_r413793461



##########
File path: submarine-server/server-submitter/submitter-k8s/src/main/java/org/apache/submarine/server/submitter/k8s/K8sJobSubmitter.java
##########
@@ -79,6 +89,9 @@ public void initialize(SubmarineConfiguration conf) {
     if (api == null) {
       api = new CustomObjectsApi();
     }
+    if (coreApi == null) {
+      coreApi = new CoreV1Api(client);

Review comment:
       ```suggestion
         coreApi = new CoreV1Api();
   ```




----------------------------------------------------------------
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:
users@infra.apache.org