change perl dep (#2595)

This commit is contained in:
qgarnier 2021-02-18 11:03:47 +01:00 committed by GitHub
parent beb682cac8
commit 4d01712e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ use strict;
use warnings;
use centreon::plugins::http;
use centreon::plugins::statefile;
use XML::Simple;
use XML::LibXML::Simple;
use Digest::MD5 qw(md5_hex);
sub new {
@ -198,6 +198,7 @@ sub request_api {
my $result;
eval {
$SIG{__WARN__} = sub {};
$result = XMLin($content, ForceArray => $options{ForceArray}, KeyAttr => []);
};
if ($@) {