Skip to content

Commit

Permalink
fixup! Remove code-path for responding to Delete events
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjones committed May 29, 2020
1 parent f4cd341 commit 5b79aa5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fiaas_deploy_daemon/deployer/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ def __call__(self):
LOG.info("Received %r for %s", event.app_spec, event.action)
if event.action == "UPDATE":
self._update(event.app_spec, event.lifecycle_subject)
elif event.action == "DELETE":
self._delete(event.app_spec)
else:
raise ValueError("Unknown DeployerEvent action {}".format(event.action))

Expand All @@ -69,10 +67,6 @@ def _update(self, app_spec, lifecycle_subject):
self._lifecycle.failed(lifecycle_subject)
self._bookkeeper.failed(app_spec)

def _delete(self, app_spec):
self._adapter.delete(app_spec)
LOG.info("Completed removal of %r", app_spec)


def _make_gen(func):
while True:
Expand Down

0 comments on commit 5b79aa5

Please sign in to comment.