From c8db25f98d2b8ae111dbf5f170c7242978ae9846 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 31 Oct 2012 19:23:59 +0000 Subject: [PATCH] change comment git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index f9d28715b..273e5c7f8 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -1095,14 +1095,14 @@ sub runcmd return output as reference to an array my $outref = xCAT::Utils->runxcmd($cmd,$sub_req, -2, 1); - return response structure from plugin + return response hash from plugin my $outref = xCAT::Utils->runxcmd($cmd,$sub_req, -2, 2); Comments: If refoutput is 1, then the output will be returned as a reference to an array for efficiency. - If refoutput is 2, then the response structure will be returned + If refoutput is 2, then the response hash will be returned as output. runxcmd will not parse the request structure. Do not use the scalar string input for xdsh unless you are running