mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
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
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user