commit 9151f4a3966e7416b8449945e9b4735dd92b2a60
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/ +/822801 /opendev. org/openstack/ neutron/ commit/ 9151f4a3966e741 6b8449945e9b473 5dd92b2a60
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 9151f4a3966e741 6b8449945e9b473 5dd92b2a60
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