Re-enable Swift3 middleware support in DevStack
Because *swift* in no more allowed in ENABLED_SERVICES (see
I78222d7ee2ea8a281962129d5bcf06c118469510) swift3 middleware to
swift could not be installed anymore. This patch thighten a check
to allow swift3 (but not swift) in ENABLED_SERVICES.
Change-Id: I194f66ae7e5163e0e6178561b09f55024fdaa607
diff --git a/stack.sh b/stack.sh
index dff6bd3..7da1fb9 100755
--- a/stack.sh
+++ b/stack.sh
@@ -150,7 +150,7 @@
fi
# Look for obsolete stuff
-if [[ ,${ENABLED_SERVICES} =~ ,"swift" ]]; then
+if [[ ,${ENABLED_SERVICES}, =~ ,"swift", ]]; then
echo "FATAL: 'swift' is not supported as a service name"
echo "FATAL: Use the actual swift service names to enable tham as required:"
echo "FATAL: s-proxy s-object s-container s-account"