From e9520c3717bc7cee9ebf5de43f56ac9e29326ba3 Mon Sep 17 00:00:00 2001 From: fredrikliu Date: Mon, 24 Jun 2024 10:49:07 +0800 Subject: [PATCH] ban nacos registry and config --- .../agent/core/bootstrap/PolarisAgentBootStrap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polaris-agent-core/polaris-agent-core-bootstrap-common/src/main/java/cn/polarismesh/agent/core/bootstrap/PolarisAgentBootStrap.java b/polaris-agent-core/polaris-agent-core-bootstrap-common/src/main/java/cn/polarismesh/agent/core/bootstrap/PolarisAgentBootStrap.java index c5f7d3aa..849701b2 100644 --- a/polaris-agent-core/polaris-agent-core-bootstrap-common/src/main/java/cn/polarismesh/agent/core/bootstrap/PolarisAgentBootStrap.java +++ b/polaris-agent-core/polaris-agent-core-bootstrap-common/src/main/java/cn/polarismesh/agent/core/bootstrap/PolarisAgentBootStrap.java @@ -20,7 +20,7 @@ import cn.polarismesh.agent.core.bootstrap.starter.BootStrapStarter; import cn.polarismesh.agent.core.bootstrap.util.AgentDirUtils; import cn.polarismesh.agent.core.common.utils.JarFileUtils; -import cn.polarismesh.agent.core.bootstrap.SetProperties; +import cn.polarismesh.agent.core.bootstrap.PolarisInitProperties; import java.lang.instrument.Instrumentation; import java.util.List; @@ -41,8 +41,8 @@ public static void premain(String agentArgs, Instrumentation instrumentation, St return; } - SetProperties setProperties = new SetProperties(); - setProperties.initialize(); + PolarisInitProperties polarisInitProperties = new PolarisInitProperties(); + polarisInitProperties.initialize(); logger.info("[Bootstrap] polaris-agent agentArgs:" + agentArgs); logger.info("[Bootstrap] polarisAgentBootStrap.ClassLoader:" + PolarisAgentBootStrap.class.getClassLoader());