Skip to content

Commit 6f758ba

Browse files
author
Matthew Fisher
committed
Merge pull request #2931 from bacongobbler/2855-deis-destroy-success
fix(client): check for expected destroy response
2 parents fd558f9 + 283ead3 commit 6f758ba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

client/deis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,7 @@ def apps_destroy(self, args):
538538
finally:
539539
progress.cancel()
540540
progress.join()
541-
if response.status_code in (requests.codes.no_content,
542-
requests.codes.not_found):
541+
if response.status_code == requests.codes.no_content:
543542
self._logger.info('done in {}s'.format(int(time.time() - before)))
544543
try:
545544
# If the requested app is a heroku app and the app

0 commit comments

Comments
 (0)