Fix is_n-cell-enabled

devstack-gate just adds the n-cell to the list of enabled_services and
devstack does the rest.

Change-Id: I1d7f8d085a5f46078131f0f6f670e929ec63f805
This commit is contained in:
Joe Gordon 2014-03-26 19:19:01 -07:00
parent 7ee8f11588
commit 6b2f26577b

View File

@ -139,7 +139,7 @@ function is_nova_enabled {
# Test if any Nova Cell services are enabled
# is_nova_enabled
function is_n-cell_enabled {
[[ ,${ENABLED_SERVICES} =~ ,"n-cell-" ]] && return 0
[[ ,${ENABLED_SERVICES} =~ ,"n-cell" ]] && return 0
return 1
}