You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yk...@apache.org on 2021/04/28 17:03:18 UTC

[incubator-datalab] 01/01: [DATALAB-2314] - fixing restart

This is an automated email from the ASF dual-hosted git repository.

ykinash pushed a commit to branch DATALAB-2314
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit c309ff091310512b93d6a490c633b10735d79459
Author: KinashYurii <ur...@gmail.com>
AuthorDate: Wed Apr 28 19:36:14 2021 +0300

    [DATALAB-2314] - fixing restart
---
 .../java/com/epam/datalab/properties/ExternalChangeProperties.java    | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/services/datalab-webapp-common/src/main/java/com/epam/datalab/properties/ExternalChangeProperties.java b/services/datalab-webapp-common/src/main/java/com/epam/datalab/properties/ExternalChangeProperties.java
index 7c6bdd1..c3375a4 100644
--- a/services/datalab-webapp-common/src/main/java/com/epam/datalab/properties/ExternalChangeProperties.java
+++ b/services/datalab-webapp-common/src/main/java/com/epam/datalab/properties/ExternalChangeProperties.java
@@ -85,7 +85,6 @@ public class ExternalChangeProperties implements ChangePropertiesConst {
                 || name.equals(GKE_SELF_SERVICE)) {
             changePropertiesService.writeFileFromString(ymlDTO.getYmlString(), name, path);
         } else {
-
             url += findMethodName(name);
             log.info("TEST LOG: on external call method , url for the next step: {}", url);
             provService.post(url, ymlDTO.getYmlString(), userInfo.getAccessToken(), String.class);
@@ -95,9 +94,6 @@ public class ExternalChangeProperties implements ChangePropertiesConst {
 
     public void restartForExternal(RestartForm restartForm, UserInfo userInfo, String url) {
         if (restartForm.getEndpoint().equals(LOCAL_ENDPOINT_NAME)) {
-            provService.post(url, userInfo.getAccessToken(), restartForm, Void.class);
-            restartForm.setProvserv(false);
-            restartForm.setBilling(false);
             changePropertiesService.restart(restartForm);
         } else {
             log.info("External request for endpoint {}, for user {}", restartForm.getEndpoint(), userInfo.getSimpleName());

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