Merge "Trivial: fix firewall_refresh_needed return value type"
This commit is contained in:
commit
09aa443741
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue