]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Don't use the "depends_on" in resource.start
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 10 Apr 2012 04:12:05 +0000 (14:12 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 10 Apr 2012 04:20:51 +0000 (14:20 +1000)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/engine/resources.py

index f55407b8877f98e43c38053cebfdd222cc1fcdd8..5e965f168d59bb5d7cf634539456dbb1178f6442 100644 (file)
@@ -72,8 +72,6 @@ class Resource(object):
         return self._nova[service_type]
 
     def start(self):
-        for c in self.depends_on:
-            self.stack.resources[c].start()
         print 'starting %s name:%s' % (self.t['Type'], self.name)
 
         self.stack.resolve_attributes(self.t)