usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [08/50] git commit: Fixes integer parsing bug in groovy script
Date Thu, 06 Nov 2014 00:14:54 GMT
Fixes integer parsing bug in groovy script


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/5a5377b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/5a5377b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/5a5377b3

Branch: refs/heads/two-dot-o
Commit: 5a5377b3868087b581e2ffd4fd087d56b75b2ca8
Parents: 25f7c6f
Author: Todd Nine <tnine@apigee.com>
Authored: Fri Oct 31 14:18:58 2014 -0600
Committer: Todd Nine <tnine@apigee.com>
Committed: Fri Oct 31 14:18:58 2014 -0600

----------------------------------------------------------------------
 stack/awscluster/src/main/groovy/configure_usergrid.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/5a5377b3/stack/awscluster/src/main/groovy/configure_usergrid.groovy
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/groovy/configure_usergrid.groovy b/stack/awscluster/src/main/groovy/configure_usergrid.groovy
index 65b82d0..bbbcd41 100644
--- a/stack/awscluster/src/main/groovy/configure_usergrid.groovy
+++ b/stack/awscluster/src/main/groovy/configure_usergrid.groovy
@@ -40,7 +40,7 @@ def clusterName  = System.getenv().get("CASSANDRA_CLUSTER_NAME")
 def superUserEmail     = System.getenv().get("SUPER_USER_EMAIL")
 def testAdminUserEmail = System.getenv().get("TEST_ADMIN_USER_EMAIL")
 
-def numEsNodes = System.getenv().get("ES_NUM_SERVERS")
+def numEsNodes = Integer.parseInt(System.getenv().get("ES_NUM_SERVERS"))
 def esShards = numEsNodes/2;
 def esReplicas = 2;
 


Mime
View raw message