Bug 1017674 - [rhc-client] delete non existing token returns 0 - success
[rhc-client] delete non existing token returns 0 - success
Status: CLOSED WONTFIX
Product: OpenShift Online
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
2.x
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Clayton Coleman
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 06:20 EDT by mzimen
Modified: 2015-05-14 22:25 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-10 09:53:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mzimen 2013-10-10 06:20:48 EDT
Description of problem:

When deleting non-existing token with this command:

  $rhc authorization delete --auth-token 11111111


Version-Release number of selected component (if applicable):
  rhc 1.15.6

How reproducible:
  always


Steps to Reproduce:
1. rhc authorization delete --auth-token 11111111
2. echo $?
3.

Actual results:


Expected results:


Additional info:
Comment 1 Clayton Coleman 2013-10-10 09:53:39 EDT
Intentional - we decided that the outcome (the token is gone) is what we are conveying.  Deleting a non-existent token is the same as deleting an existing token.  Only a failure to remove a token returns nonzero

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