mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #1474 from xuweibj/I1468
Fix issue 1468, modified to check the value of array element
This commit is contained in:
commit
ccf0659430
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user