diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DevEnvironmentServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DevEnvironmentServiceImpl.java
index d64a45a5..925437df 100644
--- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DevEnvironmentServiceImpl.java
+++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DevEnvironmentServiceImpl.java
@@ -222,7 +222,7 @@ public class DevEnvironmentServiceImpl implements DevEnvironmentService {
dvcUtils.gitClone(localPath, codeConfig.getGitUrl(), codeConfig.getGitBranch(), gitLinkUsername, gitLinkPassword);
} catch (Exception e) {
- log.error("[returnCodeConfig error,codeConfigId={}]", codeConfigId);
+ log.error("[returnCodeConfig error,e={},codeConfigId={}]",e.getMessage(),codeConfigId);
}
return localPath;
}
diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java
index 99e170c1..eb570bc3 100644
--- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java
+++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/K8sClientUtil.java
@@ -73,10 +73,10 @@ public class K8sClientUtil {
this.http = http;
this.token = token;
try {
- this.apiClient = new ClientBuilder().
- setBasePath(http).setVerifyingSsl(false).
- setAuthentication(new AccessTokenAuthentication(token)).build();
-// this.apiClient = Config.fromCluster();
+// this.apiClient = new ClientBuilder().
+// setBasePath(http).setVerifyingSsl(false).
+// setAuthentication(new AccessTokenAuthentication(token)).build();
+ this.apiClient = Config.fromCluster();
} catch (Exception e) {
log.error("构建K8s-Client异常", e);
throw new RuntimeException("构建K8s-Client异常");
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DevEnvironmentDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DevEnvironmentDaoMapper.xml
index b09ab9a5..71a0de1f 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DevEnvironmentDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DevEnvironmentDaoMapper.xml
@@ -4,7 +4,7 @@
@@ -12,7 +12,7 @@