TT#66754 Rename the ngcp status JSON key from data to checks

This matches the change in the ngcp-collective-check output.

Change-Id: I3b92b8aa6de61773a88bea39141eaa5b40e3c39e
changes/87/34787/3
Guillem Jover 6 years ago
parent 284f3b0c1c
commit 11eeb92b49

@ -58,7 +58,7 @@ sub overall_status {
},
);
my $status = $status_map{$report->{system_status}};
$status->{data} = $report->{data} if $report->{system_status} ne 'OK';
$status->{data} = $report->{checks} if $report->{system_status} ne 'OK';
return $status;
}

Loading…
Cancel
Save