Merge "NSXV3: ensure that devstack does not get invalid config"

This commit is contained in:
Jenkins 2017-05-25 09:06:04 +00:00 committed by Gerrit Code Review
commit a9388310f5
1 changed files with 5 additions and 2 deletions

View File

@ -153,10 +153,13 @@ function neutron_plugin_configure_plugin_agent {
}
function _nsxv3_ini_set {
if [[ -z $1 || -z $2 ]]; then
if [[ $3 != "" ]]; then
die $LINENO $3
fi
fi
if [[ $2 != "" ]]; then
iniset /$Q_PLUGIN_CONF_FILE nsx_v3 $1 $2
elif [[ $3 != "" ]]; then
die $LINENO $3
fi
}