Browse Source

feat:jupyter返回状态查询

pull/95/head
西大锐 1 year ago
parent
commit
3261418ab5
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/JupyterServiceImpl.java

+ 1
- 2
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/JupyterServiceImpl.java View File

@@ -111,7 +111,6 @@ public class JupyterServiceImpl implements JupyterService {
this.devEnvironmentService.update(devEnvironment); this.devEnvironmentService.update(devEnvironment);
return url ; return url ;



} }


@Override @Override
@@ -132,7 +131,7 @@ public class JupyterServiceImpl implements JupyterService {
String deleteResult = k8sClientUtil.deletePod(podName, namespace); String deleteResult = k8sClientUtil.deletePod(podName, namespace);




devEnvironment.setStatus("Terminating");
devEnvironment.setStatus("Terminated");
this.devEnvironmentService.update(devEnvironment); this.devEnvironmentService.update(devEnvironment);
return deleteResult + ",编辑器已停止"; return deleteResult + ",编辑器已停止";
} }


Loading…
Cancel
Save