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:
parent
e4d6816b0c
commit
22eca9f60b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user