summaryrefslogtreecommitdiff
path: root/lib/snmp/test/snmp_test_lib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/test/snmp_test_lib.erl')
-rw-r--r--lib/snmp/test/snmp_test_lib.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/snmp/test/snmp_test_lib.erl b/lib/snmp/test/snmp_test_lib.erl
index 87475249fd..9dabc228be 100644
--- a/lib/snmp/test/snmp_test_lib.erl
+++ b/lib/snmp/test/snmp_test_lib.erl
@@ -1413,11 +1413,11 @@ linux_distro_str_to_distro_id(X) ->
%% end.
-simplify_label("Systemtap") ->
+simplify_label("Systemtap" ++ _) ->
{host, systemtap};
-simplify_label("Meamax") ->
+simplify_label("Meamax" ++ _) ->
{host, meamax};
-simplify_label("Cover") ->
+simplify_label("Cover" ++ _) ->
{host, cover};
simplify_label(Label) ->
case string:find(string:to_lower(Label), "docker") of
@@ -1432,7 +1432,7 @@ label2factor(docker) ->
label2factor({host, meamax}) ->
2;
label2factor({host, cover}) ->
- 4;
+ 6;
label2factor({host, _}) ->
0.