commit 1aba78896b6daa2a786a4445c9ea6eb46d8aa145
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Oct 25 11:12:14 2021 +0000
Check subnet in "_remove_subnet_dhcp_options"
Since [1], "get_subnet_dhcp_options" returns always a dictionary
in "subnet" instead of None. This patch checks not only that "subnet"
is None but also the dictionary is not empty.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/822799 /opendev. org/openstack/ neutron/ commit/ 1aba78896b6daa2 a786a4445c9ea6e b46d8aa145
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 1aba78896b6daa2 a786a4445c9ea6e b46d8aa145
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Oct 25 11:12:14 2021 +0000
Check subnet in "_remove_ subnet_ dhcp_options"
Since [1], "get_subnet_ dhcp_options" returns always a dictionary
in "subnet" instead of None. This patch checks not only that "subnet"
is None but also the dictionary is not empty.
[1]https:/ /review. opendev. org/c/openstack /neutron/ +/807692
Closes-Bug: #1948466
Change-Id: Ie93cf3e47e09b3 e5051be1ffad512 251775b0492 a741693b0dc3119 2e7baa111c)
(cherry picked from commit 95c2801da855cad