Merge "lib/neutron: Fix an extra comma in service_plugins"
This commit is contained in:
commit
7d6e77baff
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user