Add comment on the new nodestatus messages that they should never be NLS translated

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-10-22 13:52:55 +00:00
parent 0f3e4dfc82
commit 3264bad1e8

View File

@ -227,6 +227,8 @@ sub execute_dcp
if ($exit_code != 0)
{
# report error status --nodestatus
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
if ($$options{'nodestatus'}) {
my $rsp={};
$rsp->{data}->[0] =
@ -240,6 +242,8 @@ sub execute_dcp
else
{
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
if ($$options{'nodestatus'}) {
my $rsp={};
$rsp->{data}->[0] =
@ -609,6 +613,8 @@ sub _execute_dsh
if ($exit_code != 0)
{
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
# report error status --nodestatus
if ($$options{'nodestatus'}) {
my $rsp={};
@ -635,6 +641,8 @@ sub _execute_dsh
{
if ($target_rc != 0)
{
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
# report error status --nodestatus
if ($$options{'nodestatus'}) {
my $rsp={};
@ -657,6 +665,8 @@ sub _execute_dsh
elsif (!defined($target_rc) && !$dsh_cmd_background && ($::DSH_MELLANOX_SWITCH==0))
{
# report error status --nodestatus
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
if ($$options{'nodestatus'}) {
my $rsp={};
$rsp->{data}->[0] =
@ -682,6 +692,8 @@ sub _execute_dsh
else # it worked
{
# Note the message below for node status must
# not be NLS translated. Code depends on the English.
if ($$options{'nodestatus'}) {
my $rsp={};
$rsp->{data}->[0] =