Browse Source

Merge branch 'dev-credits' into dev

dev-credits
chenzhihang 10 months ago
parent
commit
c6f8144c02
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java View File

@@ -522,7 +522,7 @@ public class K8sClientUtil {
} catch (ApiException e) {
throw new RuntimeException("创建pod异常:" + e.getResponseBody());
} catch (Exception e) {
throw new RuntimeException("创建pod系统异常:", e);
throw new RuntimeException("创建pod系统异常:" + e.getMessage());
}

V1Service service = createService(namespace, podName + "-svc", port, selector);


Loading…
Cancel
Save