Merge "Remove status initialization from plugin's create_firewall"
This commit is contained in:
commit
2227bb9365
@ -224,7 +224,6 @@ class FirewallPlugin(firewall_db.Firewall_db_mixin):
|
|||||||
filters={'tenant_id': [tenant_id]})
|
filters={'tenant_id': [tenant_id]})
|
||||||
if fw_count:
|
if fw_count:
|
||||||
raise FirewallCountExceeded(tenant_id=tenant_id)
|
raise FirewallCountExceeded(tenant_id=tenant_id)
|
||||||
firewall['firewall']['status'] = const.PENDING_CREATE
|
|
||||||
fw = super(FirewallPlugin, self).create_firewall(context, firewall)
|
fw = super(FirewallPlugin, self).create_firewall(context, firewall)
|
||||||
fw_with_rules = (
|
fw_with_rules = (
|
||||||
self._make_firewall_dict_with_rules(context, fw['id']))
|
self._make_firewall_dict_with_rules(context, fw['id']))
|
||||||
|
Loading…
Reference in New Issue
Block a user