Browse Source

Merge "[API Replay] Stop processing when security group creation fails" into stable/train

changes/03/792103/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
83e18c193c
  1. 2
      vmware_nsx/api_replay/client.py

2
vmware_nsx/api_replay/client.py

@ -419,6 +419,8 @@ class ApiReplayClient(utils.PrepareObjectForMigration):
except Exception as e:
self.add_error("Failed to create security group (%(sg)s): "
"%(e)s" % {'sg': sg, 'e': e})
# Don't bother going to rules
continue
# Use bulk rules creation for the rules of the SG
if not sg_rules:

Loading…
Cancel
Save