Bug 1257839

Summary: Should give some friendly prompt when updating the annotations on the resource successfully
Product: OKD Reporter: Wei Sun <wsun>
Component: PodAssignee: Solly Ross <sross>
Status: CLOSED CURRENTRELEASE QA Contact: Jianwei Hou <jhou>
Severity: low Docs Contact:
Priority: low    
Version: 3.xCC: aos-bugs, decarr, mmccomas
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: 2016-05-12 17:12:21 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:
Embargoed:

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