From e26ab1a8aa6e52475bcac21c70a7cd28e75fd5b3 Mon Sep 17 00:00:00 2001 From: Feng Shengqin Date: Mon, 11 Sep 2017 16:57:18 +0800 Subject: [PATCH] Needn't separately process start_zun_compute Change-Id: I191b2ca1c4d33acbf64a096845496c0807c5e989 --- devstack/lib/zun | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/devstack/lib/zun b/devstack/lib/zun index 2bd2cb653..18d8a03a4 100644 --- a/devstack/lib/zun +++ b/devstack/lib/zun @@ -367,11 +367,7 @@ function start_zun_api { # start_zun_compute() - Start Zun compute agent function 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" - else - run_process zun-compute "$ZUN_BIN_DIR/zun-compute" - fi + run_process zun-compute "$ZUN_BIN_DIR/zun-compute" } function start_zun_etcd {