mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
bug day...
This commit is contained in:
parent
bf984c2e06
commit
fdea339f95
@ -136,7 +136,7 @@ sub api_request {
|
||||
eval {
|
||||
$webcontent = $json->decode($jsoncontent);
|
||||
};
|
||||
if ($self->{port_infos}->{name} eq '') {
|
||||
if ($webcontent->{port}->{name} eq '') {
|
||||
$self->{port_infos}->{name} = "unknown";
|
||||
} else {
|
||||
$self->{port_infos}->{name} = $webcontent->{port}->{name};
|
||||
|
Loading…
x
Reference in New Issue
Block a user