Merge "Fix error on devstack cleanup"
This commit is contained in:
commit
f399bd83c2
@ -654,7 +654,7 @@ function octavia_cleanup {
|
|||||||
fi
|
fi
|
||||||
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then
|
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then
|
||||||
if [ ${OCTAVIA_AMP_SSH_KEY_NAME}x != x ] ; then
|
if [ ${OCTAVIA_AMP_SSH_KEY_NAME}x != x ] ; then
|
||||||
openstack keypair delete ${OCTAVIA_AMP_SSH_KEY_NAME}
|
openstack keypair delete ${OCTAVIA_AMP_SSH_KEY_NAME} || true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$OCTAVIA_USE_MOD_WSGI" == "True" ]]; then
|
if [[ "$OCTAVIA_USE_MOD_WSGI" == "True" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user