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