Browse Source

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
changes/06/321906/1
Eli Qiao 5 years ago
parent
commit
0b2fefa1a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      devstack/lib/magnum

+ 1
- 1
devstack/lib/magnum View File

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


Loading…
Cancel
Save