From f84d237c33199568a054841c6322df361da8b06a Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 28 Nov 2012 11:38:15 +0000 Subject: [PATCH] More message cleanup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/xdsh.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/xdsh.pm b/xCAT-server/lib/xcat/plugins/xdsh.pm index 7cbe94c87..b9d8df8c1 100644 --- a/xCAT-server/lib/xcat/plugins/xdsh.pm +++ b/xCAT-server/lib/xcat/plugins/xdsh.pm @@ -279,7 +279,7 @@ sub process_servicenodes_xdcp if (!-f $::syncsnfile) { # syncfile does not exist, quit my $rsp = {}; - $rsp->{data}->[0] = "File:$::syncsnfile does not exist."; + $rsp->{error}->[0] = "File:$::syncsnfile does not exist."; xCAT::MsgUtils->message("E", $rsp, $callback, 1); return (1); # process no service nodes } @@ -473,7 +473,7 @@ sub process_servicenodes_xdsh if (!-f $::dshexecute) { # -e file does not exist, quit my $rsp = {}; - $rsp->{data}->[0] = "File:$::dshexecute does not exist."; + $rsp->{error}->[0] = "File:$::dshexecute does not exist."; xCAT::MsgUtils->message("E", $rsp, $callback, 1); return (1); # process no service nodes } @@ -717,7 +717,7 @@ sub process_request else { my $rsp = {}; - $rsp->{data}->[0] = + $rsp->{error}->[0] = "Unknown command $command. Cannot process the command."; xCAT::MsgUtils->message("E", $rsp, $callback, 1); return;