From 945ad9b5e4ee93d6660dfb1cc69c6c63ac72a32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Thu, 26 Sep 2024 09:52:18 +0800 Subject: [PATCH] 'commit' --- dsBuild/src/main/java/Util/K8sClientTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsBuild/src/main/java/Util/K8sClientTest.java b/dsBuild/src/main/java/Util/K8sClientTest.java index e6faef9a..0bf25017 100644 --- a/dsBuild/src/main/java/Util/K8sClientTest.java +++ b/dsBuild/src/main/java/Util/K8sClientTest.java @@ -17,7 +17,7 @@ import java.util.regex.Pattern; public class K8sClientTest { - public static void testGetAllPodList() throws IOException, ApiException { + public static void getAllPodList() throws IOException, ApiException { //Master /root/.kube/config文件拷贝过来 String kubeConfigPath = PathKit.getRootClassPath() + "\\.kube\\config"; if (!new File(kubeConfigPath).exists()) { @@ -59,6 +59,6 @@ public class K8sClientTest { } public static void main(String[] args) throws IOException, ApiException { - testGetAllPodList(); + getAllPodList(); } }