Bug 1257839 - Should give some friendly prompt when updating the annotations on the resource successfully
Summary: Should give some friendly prompt when updating the annotations on the resourc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Solly Ross
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 08:30 UTC by Wei Sun
Modified: 2016-05-12 17:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 17:12:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2015-08-28 08:30:59 UTC
Description of problem:
Update the annotations on the resource by running `oc annotate`,but nothing is returned by CLI.CLI should give a friendly prompt.

Version-Release number of selected component (if applicable):
$ oc version 
oc v1.0.5-49-gf7b6723
kubernetes v1.1.0-alpha.0-1605-g44c91b1

devenv_fedora_2234

How reproducible:
Always

Steps to Reproduce:
1.Create an application
2.Update the annotations for one pod
3.

Actual results:
Update the annotations successfully,but there is no any prompt from CLI.

Expected results:
CLI should give a friendly prompt.

Additional info:

Comment 1 Solly Ross 2016-02-02 22:33:50 UTC
This has already been fixed in OpenShift Origin as of https://github.com/openshift/origin/commit/1ca5c508ed534f940615b7de789a2d4fcf2eec1a

Comment 2 Wei Sun 2016-02-14 06:44:31 UTC
Verified in devenv-rhel7_3422
# oc version
oc v1.1.2-258-gda69009
kubernetes v1.2.0-origin

Result:
# oc annotate pods ruby-hello-world-1-8dswb description='my frontend'
pod "ruby-hello-world-1-8dswb" annotated


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