Skip to content

Commit 2977d9a

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "lib/neutron: Fix conf handling"
2 parents 192046e + ed887d8 commit 2977d9a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/neutron

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,17 +395,17 @@ function start_neutron_api {
395395
service_protocol="http"
396396
fi
397397

398-
local opts = ""
399-
opts+="--config-file $NEUTRON_CONF"
400-
opts+="--config-file $NEUTRON_CORE_PLUGIN_CONF"
398+
local opts=""
399+
opts+=" --config-file $NEUTRON_CONF"
400+
opts+=" --config-file $NEUTRON_CORE_PLUGIN_CONF"
401401
local cfg_file
402402
for cfg_file in ${_NEUTRON_SERVER_EXTRA_CONF_FILES_ABS[@]}; do
403403
opts+=" --config-file $cfg_file"
404404
done
405405

406406
# Start the Neutron service
407407
# TODO(sc68cal) Stop hard coding this
408-
run_process neutron-api "$NEUTRON_BIN_DIR/neutron-server $ops"
408+
run_process neutron-api "$NEUTRON_BIN_DIR/neutron-server $opts"
409409

410410
if is_ssl_enabled_service "neutron"; then
411411
ssl_ca="--ca-certificate=${SSL_BUNDLE_FILE}"

0 commit comments

Comments
 (0)