Needn't separately process start_zun_compute

Change-Id: I191b2ca1c4d33acbf64a096845496c0807c5e989
This commit is contained in:
Feng Shengqin 2017-09-11 16:57:18 +08:00
parent 61421d45ce
commit e26ab1a8aa

View File

@ -367,11 +367,7 @@ function start_zun_api {
# start_zun_compute() - Start Zun compute agent # start_zun_compute() - Start Zun compute agent
function start_zun_compute { function start_zun_compute {
echo "Start zun compute..." echo "Start zun compute..."
if [[ ${ZUN_DRIVER} == "docker" || ${ZUN_DRIVER} == "nova-docker" ]]; then
run_process zun-compute "$ZUN_BIN_DIR/zun-compute" run_process zun-compute "$ZUN_BIN_DIR/zun-compute"
else
run_process zun-compute "$ZUN_BIN_DIR/zun-compute"
fi
} }
function start_zun_etcd { function start_zun_etcd {