[DevStack] Fix fm-rest-api start/stop

Use the correct service name in start_fault() and stop_fault()

Change-Id: I881b8e4cbcca3219e7a18fa6f60afc1e442b41f4
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2019-03-28 15:28:21 -05:00
parent 622ad8d87c
commit 1b5d82dd1d
1 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ function install_fm_rest_api {
function start_fault {
if is_service_enabled fm-rest-api; then
run_process fm-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF"
run_process fm-rest-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF"
fi
if is_service_enabled fm-mgr; then
run_process fm-mgr "$STX_BIN_DIR/fmManager start -c $FM_RESTAPI_CONF"
@ -397,7 +397,7 @@ function start_fault {
function stop_fault {
if is_service_enabled fm-rest-api; then
stop_process fm-api
stop_process fm-rest-api
fi
if is_service_enabled fm-mgr; then
stop_process fm-mgr