Bug 866432

Summary: It should be "an error" instead of "a error" in the warning message when using "rhc app status"
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: johnp, pruan, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.99.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:49:08 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 Yujie Zhang 2012-10-15 11:10:48 UTC
Description of problem:

When I used the command "rhc app status -a app22 -l xx -p xx" to check the status of my application, the following message was displayed:

"Warning: This command is deprecated. Please use 'rhc app show --state' instead. For porting and testing purposes you may switch this warning to **a error** by setting the DISABLE_DEPRECATED environment variable to 1.  It is not recommended to do so in a production environment as this option may be removed in future releases.
"

Think it should be "an error" instead of "a error" in the message.

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

rhc-0.99.5_devenv_2327

How reproducible:

always

Steps to Reproduce:
1.rhc domain create -n yujzhang999 -l xx -p xx
2.rhc app create -t jenkins-1.4 -a app22 -l xx -p xx
3.rhc app status -a app22 -l xx -p xx
  
Actual results:

There is warning message displayed:

"Warning: This command is deprecated. Please use 'rhc app show --state' instead. For porting and testing purposes you may switch this warning to **a error** by setting the DISABLE_DEPRECATED environment variable to 1.  It is not recommended to do so in a production environment as this option may be removed in future releases.
"

Expected results:

It should be "an error" instead of "a error" in the warning message.

Additional info:

Comment 1 Peter Ruan 2012-10-16 22:25:58 UTC
verified with rhc.0.99.7

[pruan@homer-linux <MASTER> bin]# rhc app status
Warning: This command is deprecated. Please use 'rhc app show --state'
instead. For porting and testing purposes you may switch this a warning to an
error by setting the DISABLE_DEPRECATED environment variable to 1.  It is not
recommended to do so in a production environment as this option may be removed
in future releases.