From 22eca9f60b6c54359fa1104d5ad4afa5dd1d63b5 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 26 Mar 2009 09:23:42 +0000 Subject: [PATCH] reformat the response of getbladecons command git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 929e05f0b..5dd229720 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -1904,9 +1904,9 @@ sub getbladecons { next; } if (defined($ent->{id})) { - $rsp->{node}->[0]->{slot}=$ent->{id}; + $rsp->{node}->[0]->{slot}=[$ent->{id}]; } else { - $rsp->{node}->[0]->{slot}=""; + $rsp->{node}->[0]->{slot}=[""]; } $callback->($rsp); }