Skip to content

Commit

Permalink
ban nacos registry and config
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikliu committed Jun 24, 2024
1 parent db7a817 commit 34e2f34
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public static void premain(String agentArgs, Instrumentation instrumentation, St
return;
}

System.setProperty("spring.cloud.nacos.config.enabled", "false");
System.setProperty("spring.cloud.nacos.discovery.enabled", "false");

logger.info("[Bootstrap] polaris-agent agentArgs:" + agentArgs);
logger.info("[Bootstrap] polarisAgentBootStrap.ClassLoader:" + PolarisAgentBootStrap.class.getClassLoader());
logger.info("[Bootstrap] contextClassLoader:" + Thread.currentThread().getContextClassLoader());
Expand Down

0 comments on commit 34e2f34

Please sign in to comment.