summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-11-14 20:44:52 +0000
committerGerrit Code Review <review@openstack.org>2017-11-14 20:44:52 +0000
commit0944b77e6d174a9c4186c8b288c3dcb8a6b6b0fc (patch)
treeda30692dda00dc68ea245d10b8dbf227c788d3b4
parent500b5405f278b1d834eece74901f422a158268b2 (diff)
parent3c8945835855ea6c8a42c269ec55cde71059bda9 (diff)
downloadnova-0944b77e6d174a9c4186c8b288c3dcb8a6b6b0fc.tar.gz
Merge "Correct log message when removing a security group" into stable/ocata
-rw-r--r--nova/network/security_group/neutron_driver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/network/security_group/neutron_driver.py b/nova/network/security_group/neutron_driver.py
index 5b905f8f9f..c4f26a2259 100644
--- a/nova/network/security_group/neutron_driver.py
+++ b/nova/network/security_group/neutron_driver.py
@@ -525,8 +525,8 @@ class SecurityGroupAPI(security_group_base.SecurityGroupBase):
updated_port = {'security_groups': port['security_groups']}
try:
- LOG.info(_LI("Adding security group %(security_group_id)s to "
- "port %(port_id)s"),
+ LOG.info(_LI("Removing security group %(security_group_id)s "
+ "from port %(port_id)s"),
{'security_group_id': security_group_id,
'port_id': port['id']})
neutron.update_port(port['id'], {'port': updated_port})