Bug 808713 - rhc domain destroy returns 0 even if domain doesn't exist
Summary: rhc domain destroy returns 0 even if domain doesn't exist
Keywords:
Status: CLOSED DUPLICATE of bug 811221
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-31 10:34 UTC by jizhao
Modified: 2015-05-15 01:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-20 17:04:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jizhao 2012-03-31 10:34:35 UTC
Description of problem:
Destroy domain and destroy it again. The client return 0.

Version-Release number of selected component (if applicable):
rhc-0.89.10-1.el6_2.noarch

How reproducible:
Always

Steps to Reproduce:
1.Destroy domain
$ rhc domain destroy -n <domain_name> -d
2.Destroy it again
$ rhc domain destroy -n <domain_name> -d
3.Check the return value
$ echo $?
  
Actual results:
The return value is 0.

Expected results:
The resturn value shouldn't be 0.

Additional info:

Comment 1 John (J5) Palmieri 2012-04-20 17:04:54 UTC

*** This bug has been marked as a duplicate of bug 811221 ***


Note You need to log in before you can comment on or make changes to this bug.