Steps in which deletion is not supported have to return an empty list
when queried for deleted objects.
diff --git a/planetstack/openstack_observer/steps/sync_image_deployments.py b/planetstack/openstack_observer/steps/sync_image_deployments.py
index 4a69b1c..20c22a2 100644
--- a/planetstack/openstack_observer/steps/sync_image_deployments.py
+++ b/planetstack/openstack_observer/steps/sync_image_deployments.py
@@ -14,7 +14,9 @@
provides=[ImageDeployments]
requested_interval=0
- def fetch_pending(self):
+ def fetch_pending(self, deleted):
+ if (deleted):
+ return []
# smbaker: commented out automatic creation of ImageDeployments as
# as they will now be configured in GUI. Not sure if this is
# sufficient.