From 3264bad1e8d33eaf06ade4bf950807ef57179b60 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 22 Oct 2012 13:52:55 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/DSHCLI.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index d3d4b7c44..042ebb24a 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -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] =