Don't setup swift3 if it's not being used.
"setup_develop" was still being called for swift3, even if it's not in enabled services. This wraps that call in an "is_service_enbled" conditional so that stack.sh doesn't attempt to set it up if it's not enabled. - Fixes bug 1021150. Change-Id: I26ed1a1e73eee24da78580eda3b13e5d3eb65361
This commit is contained in:
parent
282fbda6f4
commit
3b73df7646
2
stack.sh
2
stack.sh
@ -697,6 +697,8 @@ fi
|
|||||||
if is_service_enabled swift; then
|
if is_service_enabled swift; then
|
||||||
setup_develop $SWIFT_DIR
|
setup_develop $SWIFT_DIR
|
||||||
setup_develop $SWIFTCLIENT_DIR
|
setup_develop $SWIFTCLIENT_DIR
|
||||||
|
fi
|
||||||
|
if is_service_enabled swift3; then
|
||||||
setup_develop $SWIFT3_DIR
|
setup_develop $SWIFT3_DIR
|
||||||
fi
|
fi
|
||||||
if is_service_enabled g-api n-api; then
|
if is_service_enabled g-api n-api; then
|
||||||
|
Loading…
Reference in New Issue
Block a user