Merge "Use list of self.processes keys in Python2/3"

This commit is contained in:
Zuul 2019-11-28 13:02:59 +00:00 committed by Gerrit Code Review
commit e0ed58c46c
1 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ class IPsecDriver(device_drivers.DeviceDriver):
@log_helpers.log_method_call
def report_status(self, context):
status_changed_vpn_services = []
for process_id, process in self.processes.items():
for process_id, process in list(self.processes.items()):
# NOTE(mnaser): It's not necessary to check status for processes
# of a backup L3 agent
router = self.routers.get(process_id)