Skip to content

Commit

Permalink
Implement atomic deployments for openshift provider. Fixes projectato…
Browse files Browse the repository at this point in the history
  • Loading branch information
rtnpro committed Feb 9, 2016
1 parent 0afcf1f commit 1153b29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion atomicapp/providers/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,11 @@ def stop(self):
if self.dryrun:
logger.info("DRY-RUN: DELETE %s", url)
else:
self.oc.delete(url)
try:
self.oc.delete(url)
except Exception as e:
if not self.ignore_errors:
raise e

def _process_artifacts(self):
"""
Expand Down

0 comments on commit 1153b29

Please sign in to comment.