mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 21:55:16 +02:00
enhance cisco meraki
This commit is contained in:
parent
b524cfe7fd
commit
258233ae72
@ -180,7 +180,7 @@ sub request_api {
|
||||
|
||||
my $content;
|
||||
eval {
|
||||
$content = JSON::XS->new->utf8->decode($response);
|
||||
$content = JSON::XS->new->allow_nonref(1)->utf8->decode($response);
|
||||
};
|
||||
if ($@) {
|
||||
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");
|
||||
|
Loading…
x
Reference in New Issue
Block a user