Closes-Bug: #1667077
Change-Id: Ib63a94a931c38a7b2a5fc91a8339a9cd657f7927
... | ... |
@@ -510,7 +510,10 @@ function neutron_service_plugin_class_add_new { |
510 | 510 |
local plugins="" |
511 | 511 |
|
512 | 512 |
plugins=$(iniget $NEUTRON_CONF DEFAULT service_plugins) |
513 |
- plugins+=",${service_plugin_class}" |
|
513 |
+ if [ $plugins ]; then |
|
514 |
+ plugins+="," |
|
515 |
+ fi |
|
516 |
+ plugins+="${service_plugin_class}" |
|
514 | 517 |
iniset $NEUTRON_CONF DEFAULT service_plugins $plugins |
515 | 518 |
} |
516 | 519 |
|