Merge pull request #2407 from centreon/fix-pr-2404

Fix #2404
This commit is contained in:
qgarnier 2020-12-04 10:07:00 +01:00 committed by GitHub
commit a632810029
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ sub manage_selection {
nothing_quit => 1
);
$self->{global} = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => 0);
$self->{global}->{firmware_version} = 'n/a' if (!defined($self->{global}->{firmware_version}));
$self->{global}->{firmware_version_update} = 'n/a' if (!defined($self->{global}->{firmware_version_update}));
}
1;