mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +02:00
bad syntax for if condition
This commit is contained in:
parent
490293d627
commit
5e9e350e53
@ -138,7 +138,7 @@ sub api_request {
|
|||||||
};
|
};
|
||||||
if ($self->{port_infos}->{name} eq '') {
|
if ($self->{port_infos}->{name} eq '') {
|
||||||
$self->{port_infos}->{name} = "unknown";
|
$self->{port_infos}->{name} = "unknown";
|
||||||
else {
|
} else {
|
||||||
$self->{port_infos}->{name} = $webcontent->{port}->{name};
|
$self->{port_infos}->{name} = $webcontent->{port}->{name};
|
||||||
}
|
}
|
||||||
$self->{port_infos}->{admin_state} = $webcontent->{port}->{admin_state_up};
|
$self->{port_infos}->{admin_state} = $webcontent->{port}->{admin_state_up};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user