Bug 1274200 - [platformmanagement_public_526]There is no any prompt when deleting a non-existent spec tag
Summary: [platformmanagement_public_526]There is no any prompt when deleting a non-exi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Michail Kargakis
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-22 08:57 UTC by Wei Sun
Modified: 2015-11-23 21:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 21:16:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2015-10-22 08:57:02 UTC
Description of problem:
Delete a non-existent spec tag ,there is no any prompt.Nothing is returned.

Version-Release number of selected component (if applicable):
$ oc version
oc v3.0.2.902
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4

How reproducible:
Always

Steps to Reproduce:
1.Delete a non-existent spec tag
2.
3.

Actual results:
$ oc tag wsuntest/ruby:2.9  -d

Nothing is returned

Expected results:
There is some friendly prompt,like "There is no 2.9 spec tag"

Additional info:

Comment 1 openshift-github-bot 2015-10-22 16:23:29 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/3387c25abec701a4d202b0e56f8e31ca5337a9da
Bug 1274200: Prompt by default when deleting a non-existent tag

Comment 2 Wei Sun 2015-10-23 03:14:42 UTC
Verified on  devenv-rhel7_2529

Result: 
# oc tag openshift/ruby:3.3 -d
error: destination tag openshift/ruby:3.3 does not exist


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