Skip to content

Commit 283ead3

Browse files
author
Matthew Fisher
committed
fix(client): check for expected destroy response
1 parent c0c8590 commit 283ead3

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)