Commit bf567f12 authored by tywldx's avatar tywldx

fix

parent feaddcea
...@@ -11,7 +11,6 @@ config_path=`cat $config_server/config_path.sh` ...@@ -11,7 +11,6 @@ config_path=`cat $config_server/config_path.sh`
function restartJavaProject() function restartJavaProject()
{ {
projects=(`node $config_server/get_project_config.js -type java -attr name`) projects=(`node $config_server/get_project_config.js -type java -attr name`)
echo ${projects[@]}
for project_name in ${projects[@]} for project_name in ${projects[@]}
do do
echo "$config_server" echo "$config_server"
...@@ -23,10 +22,6 @@ function restartJavaProject() ...@@ -23,10 +22,6 @@ function restartJavaProject()
function restartNodeProject() function restartNodeProject()
{ {
pwd_path=$1
config_server="$pwd_path/config_server"
project_path="$config_server/project_path.sh"
projects=(`node $config_server/get_project_config.js -type node -attr name`) projects=(`node $config_server/get_project_config.js -type node -attr name`)
for project_name in ${projects[@]} for project_name in ${projects[@]}
do do
...@@ -36,10 +31,6 @@ function restartNodeProject() ...@@ -36,10 +31,6 @@ function restartNodeProject()
function restartPythonProject() function restartPythonProject()
{ {
pwd_path=$1
config_server="$pwd_path/config_server"
project_path="$config_server/project_path.sh"
projects=(`node $config_server/get_project_config.js -type python -attr name`) projects=(`node $config_server/get_project_config.js -type python -attr name`)
for project_name in ${projects[@]} for project_name in ${projects[@]}
do do
......
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