Fixed unconditioned source phase in OpenDaylight extras
Should source ``lib/opendaylight`` in ``extras.d/80-opendaylight.sh`` only when appropriate services are enabled. Fix for bug/1290033 Change-Id: Ifa470e1e132029f3c5bf255f27c4e96373b339a8 Signed-off-by: Roey Chen <roeyc@mellanox.com>
This commit is contained in:
1 changed files with 4 additions and 2 deletions
@@ -1,7 +1,9 @@
# opendaylight.sh - DevStack extras script
# Need this first to get the is_***_enabled for ODL
source $TOP_DIR/lib/opendaylight
if is_service_enabled odl-server odl-compute; then
# Initial source
[[ "1ドル" == "source" ]] && source $TOP_DIR/lib/opendaylight
fi
if is_service_enabled odl-server; then
if [[ "1ドル" == "source" ]]; then
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.