Commit 455782f4 by Jason Song

use deploy.properties to check tooling env

parent 1b1decc9
...@@ -82,7 +82,7 @@ public class ConfigUtil { ...@@ -82,7 +82,7 @@ public class ConfigUtil {
} }
private boolean isToolingZone() { private boolean isToolingZone() {
if ("true".equalsIgnoreCase(Foundation.server().getProperty("tooling", "false").trim())) { if ("true".equalsIgnoreCase(Foundation.deployment().getProperty("tooling", "false").trim())) {
return true; return true;
} }
return false; return false;
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<dependency> <dependency>
<groupId>com.ctrip.framework</groupId> <groupId>com.ctrip.framework</groupId>
<artifactId>framework-foundation</artifactId> <artifactId>framework-foundation</artifactId>
<version>1.1.7</version> <version>1.1.8-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.dianping.cat</groupId> <groupId>com.dianping.cat</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment