devstack: fix magnum service name in is_magnum_enabled

We rename m-api, m-cond to magnum-api, magnum-cond, so need to fix it
in is_magnum_enabled too.

Change-Id: Ifbb290a4b6900636e0964510b4f95d7bc44a84a3
This commit is contained in:
Eli Qiao 2016-05-27 08:29:25 +08:00
parent 1740f79a0a
commit 0b2fefa1a7
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ fi
# Test if any magnum services are enabled # Test if any magnum services are enabled
# is_magnum_enabled # is_magnum_enabled
function is_magnum_enabled { function is_magnum_enabled {
[[ ,${ENABLED_SERVICES} =~ ,"m-" ]] && return 0 [[ ,${ENABLED_SERVICES} =~ ,"magnum-" ]] && return 0
return 1 return 1
} }
# cleanup_magnum() - Remove residual data files, anything left over from previous # cleanup_magnum() - Remove residual data files, anything left over from previous