commit | cd99f4d0b3e0b13dd8c4cb7b4c938af7353c0298 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Wed Jul 23 09:34:16 2014 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Wed Jul 23 16:25:15 2014 -0400 |
tree | 0e9e91f2d6d85c5d14d51d07708ecdd9923e3d33 | |
parent | 4f4591df95bfa3d1d2ea5cee3ebd4ff7075afd66 [diff] |
Deleters should not be calling delete on the data model.
diff --git a/planetstack/openstack_observer/steps/sync_networks.py b/planetstack/openstack_observer/steps/sync_networks.py index 7964dd9..84257f7 100644 --- a/planetstack/openstack_observer/steps/sync_networks.py +++ b/planetstack/openstack_observer/steps/sync_networks.py
@@ -23,4 +23,3 @@ except Exeption,e: logger.log_exc("Failed to delete network deployment %s" % network_deployment) raise e - network.delete()
diff --git a/planetstack/openstack_observer/steps/sync_sites.py b/planetstack/openstack_observer/steps/sync_sites.py index a30160c..e7c645e 100644 --- a/planetstack/openstack_observer/steps/sync_sites.py +++ b/planetstack/openstack_observer/steps/sync_sites.py
@@ -17,4 +17,3 @@ site_deployment_deleter = SiteDeploymentDeleter() for site_deployment in site_deployments: site_deployment_deleter(site_deployment.id) - site.delete()