2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-30 00:01:56 +00:00

Fix issue 1468, modified to check the value of array element

This commit is contained in:
XuWei
2016-07-04 22:14:53 -04:00
parent ea9311f03b
commit 663e41e0d3

View File

@@ -3899,7 +3899,7 @@ sub forward_data {
#save the nodes that has errors and the ones that has no-op for use by the node status monitoring
my $no_op = 0;
if ($_->{node}->[0]->{errorcode}) { $no_op = 1; }
if ($_->{node}->[0]->{errorcode}->[0]) { $no_op = 1; }
else {
my $text = $_->{node}->[0]->{data}->[0]->{contents}->[0];