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-13 13:27:59 +0000
commit65a68d97d0b0a4a78c2d21f6b76c6f207c993a19 (patch)
tree230b26d9a478b3254e8c0a6d37e9662fcd2c061d
parente446ecbb21c2c6e8909ec20121536073d66bbcb7 (diff)
downloadheat-65a68d97d0b0a4a78c2d21f6b76c6f207c993a19.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
-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'):