Browse Source

Merge "Octavia driver: rule list can be None in L7 policy" into stable/ussuri

changes/54/788454/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
1b312fd9e6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      vmware_nsx/services/lbaas/octavia/octavia_driver.py

+ 2
- 0
vmware_nsx/services/lbaas/octavia/octavia_driver.py View File

@ -378,6 +378,8 @@ class NSXOctaviaDriver(driver_base.ProviderDriver):
# During create operations, the created rule will not be
# retrieved from Octavia DB, as it is updated later on
if policy_dict.get('rules') is None:
policy_dict['rules'] = []
if (obj_dict['l7rule_id'] not in
[r['l7rule_id'] for r in
policy_dict.get('rules', [])]):


Loading…
Cancel
Save