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:
parent
7ee8f11588
commit
6b2f26577b
2
lib/nova
2
lib/nova
@ -139,7 +139,7 @@ function is_nova_enabled {
|
|||||||
# Test if any Nova Cell services are enabled
|
# Test if any Nova Cell services are enabled
|
||||||
# is_nova_enabled
|
# is_nova_enabled
|
||||||
function is_n-cell_enabled {
|
function is_n-cell_enabled {
|
||||||
[[ ,${ENABLED_SERVICES} =~ ,"n-cell-" ]] && return 0
|
[[ ,${ENABLED_SERVICES} =~ ,"n-cell" ]] && return 0
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user