eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [09/20] incubator-eagle git commit: [EAGLE-53] Fix default least node num as 1
Date Mon, 30 Nov 2015 10:11:51 GMT
[EAGLE-53] Fix default least node num as 1


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

Branch: refs/heads/master
Commit: a9d064a739ce16d4697246de6fe1f0274781456e
Parents: 43bae92
Author: Hao Chen <hao@apache.org>
Authored: Sun Nov 29 11:15:57 2015 -0700
Committer: Hao Chen <hao@apache.org>
Committed: Sun Nov 29 11:15:57 2015 -0700

----------------------------------------------------------------------
 eagle-external/eagle-docker/bin/eagle-docker.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a9d064a7/eagle-external/eagle-docker/bin/eagle-docker.sh
----------------------------------------------------------------------
diff --git a/eagle-external/eagle-docker/bin/eagle-docker.sh b/eagle-external/eagle-docker/bin/eagle-docker.sh
index 494fa5c..5631d32 100755
--- a/eagle-external/eagle-docker/bin/eagle-docker.sh
+++ b/eagle-external/eagle-docker/bin/eagle-docker.sh
@@ -63,6 +63,9 @@ function usage() {
 
 function deploy(){
 	check_env
+	if [ "$NODE_NUM" == "" ];then
+		NODE_NUM=1
+	fi 
 	eagle-deploy-cluster $NODE_NUM
 }
 


Mime
View raw message