Skip to content

Commit

Permalink
use deploy.properties to check tooling env
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Sep 19, 2016
1 parent 1b1decc commit 455782f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -82,7 +82,7 @@ private void initCluster() {
}

private boolean isToolingZone() {
if ("true".equalsIgnoreCase(Foundation.server().getProperty("tooling", "false").trim())) {
if ("true".equalsIgnoreCase(Foundation.deployment().getProperty("tooling", "false").trim())) {
return true;
}
return false;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -139,7 +139,7 @@
<dependency>
<groupId>com.ctrip.framework</groupId>
<artifactId>framework-foundation</artifactId>
<version>1.1.7</version>
<version>1.1.8-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.dianping.cat</groupId>
Expand Down

0 comments on commit 455782f

Please sign in to comment.