Merge "lib/neutron: Fix an extra comma in service_plugins"

This commit is contained in:
Jenkins 2017-03-01 09:29:48 +00:00 committed by Gerrit Code Review
commit 7d6e77baff

View File

@ -510,7 +510,10 @@ function neutron_service_plugin_class_add_new {
local plugins=""
plugins=$(iniget $NEUTRON_CONF DEFAULT service_plugins)
plugins+=",${service_plugin_class}"
if [ $plugins ]; then
plugins+=","
fi
plugins+="${service_plugin_class}"
iniset $NEUTRON_CONF DEFAULT service_plugins $plugins
}