summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2022-07-13 15:21:40 +0300
committerTakashi Kajinami <tkajinam@redhat.com>2022-07-14 06:28:22 +0000
commit54beb1df94ecc12717302a192b7a9494921e4256 (patch)
tree406dace251dc0fa68ced853029155de8cff1e122
parent08a0a218ef406d3027fd28be8e77f9876fd10f4d (diff)
downloadheat-54beb1df94ecc12717302a192b7a9494921e4256.tar.gz
Followup to I7736373d03c23884158e4a1d41defafb4e2b8a4c
that patch erroneously replaced dict.values() with dict.items(), and now ExtraRouteSet can not be created due to AttributeError ('tuple' has no attribute 'has_interface'). Story: 2010142 Task: 45778 Change-Id: I2643b319f3a91f98097b96639f7298b25724aa62 (cherry picked from commit 65a68d97d0b0a4a78c2d21f6b76c6f207c993a19)
-rw-r--r--heat/engine/resources/openstack/neutron/extrarouteset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/engine/resources/openstack/neutron/extrarouteset.py b/heat/engine/resources/openstack/neutron/extrarouteset.py
index 8b93ad8f9..c0378f2c2 100644
--- a/heat/engine/resources/openstack/neutron/extrarouteset.py
+++ b/heat/engine/resources/openstack/neutron/extrarouteset.py
@@ -112,7 +112,7 @@ class ExtraRouteSet(neutron.NeutronResource):
def add_dependencies(self, deps):
super(ExtraRouteSet, self).add_dependencies(deps)
- for resource in self.stack.items():
+ for resource in self.stack.values():
# depend on any RouterInterface in this template with the same
# router as this router
if resource.has_interface('OS::Neutron::RouterInterface'):