Merge "Trivial: fix firewall_refresh_needed return value type"

This commit is contained in:
Zuul 2019-11-16 07:48:31 +00:00 committed by Gerrit Code Review
commit 09aa443741
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class SecurityGroupAgentRpc(object):
self._apply_port_filter(device_ids, update_filter=True) self._apply_port_filter(device_ids, update_filter=True)
def firewall_refresh_needed(self): 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): def setup_port_filters(self, new_devices, updated_devices):
"""Configure port filters for devices. """Configure port filters for devices.