Skip to content

Commit 3de8a77

Browse files
committed
fix: Fix unittest
1 parent 0d91cee commit 3de8a77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/GLPI/Agent/SNMP/MibSupport/Telco.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ sub run {
6767
unless (empty($sysHwRevision)) {
6868
my $model = $device->{MODEL} ? $device->{MODEL}." " : "";
6969
my $sysHardware = {
70-
NAME => ($device->{MODEL} ? $device->{MODEL}." " : "")."hardware",
71-
DESCRIPTION => "hardware revision",
70+
NAME => $model."hardware",
71+
DESCRIPTION => $model."hardware revision",
7272
TYPE => "device",
7373
VERSION => $sysHwRevision,
7474
MANUFACTURER => "Telco Systems"

0 commit comments

Comments
 (0)