Skip to content

Commit ba762bd

Browse files
committed
default these to empty hashes since they can now be empty
1 parent 22a1662 commit ba762bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/plugin/snmp.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# https://collectd.org/wiki/index.php/Plugin:SNMP
22
class collectd::plugin::snmp (
33
$ensure = present,
4-
$data = undef,
5-
$hosts = undef,
4+
$data = {},
5+
$hosts = {},
66
$interval = undef,
77
) {
88
if $::osfamily == 'Redhat' {

0 commit comments

Comments
 (0)