Browse Source

Merge "Trivial: fix firewall_refresh_needed return value type"

changes/84/693484/2
Zuul 3 weeks ago
parent
commit
09aa443741
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      neutron/agent/securitygroups_rpc.py

+ 1
- 1
neutron/agent/securitygroups_rpc.py View File

@@ -227,7 +227,7 @@ class SecurityGroupAgentRpc(object):
self._apply_port_filter(device_ids, update_filter=True)

def firewall_refresh_needed(self):
return self.devices_to_refilter
return bool(self.devices_to_refilter)

def setup_port_filters(self, new_devices, updated_devices):
"""Configure port filters for devices.

Loading…
Cancel
Save