From 2c36a826a5ec3c1a63069805239e9c452e6845eb Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 27 Feb 2024 22:02:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(cli):=20=E4=BF=AE=E5=A4=8Ddeploy.plan?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E4=BF=9D=E7=95=99=E4=B8=8A=E4=B8=80=E6=AC=A1=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lanyuanxiaoyao/service/cli/runner/RunnerApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java b/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java index 4250fc0..6ce96c6 100644 --- a/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java +++ b/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java @@ -102,7 +102,7 @@ public class RunnerApplication implements ApplicationRunner { String absolutRootPath = root.toAbsolutePath().toString(); logger.info("Current path: {}", absolutRootPath); - Path planPath = Paths.get("deploy.plan"); + Path planPath = Paths.get(root.toString(), "deploy.plan"); Map> deployPlans = new HashMap<>(); if (Files.exists(planPath) && !deployInformationProperties.getShuffler()) { deployPlans = mapper.readValue(new String(Files.readAllBytes(planPath)), new TypeReference>>() {});