Bug 1017674

Summary: [rhc-client] delete non existing token returns 0 - success
Product: OpenShift Online Reporter: mzimen
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: szhou, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-10 13:53:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mzimen 2013-10-10 10:20:48 UTC
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 13:53:39 UTC
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