Bug 37856: Consider absence of 'Report_Items'
The SUSHI provider in question for this patchset also does not return any
Report_Items entry. This patch accounts for that.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 72b38a1dbf)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
c3681fd9ff
commit
730ca49e06
|
|
@ -488,7 +488,7 @@ sub _sushi_errors {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if ( scalar @{ $decoded_response->{Report_Items} } == 0 ) {
|
||||
if ( $decoded_response->{Report_Items} && scalar @{ $decoded_response->{Report_Items} } == 0 ) {
|
||||
$self->{job_callbacks}->{add_message_callback}->(
|
||||
{
|
||||
type => 'error',
|
||||
|
|
|
|||
Loading…
Reference in New Issue