Helper/Nix.pm: perlcritic statsd in scalar context

This commit is contained in:
Your Name
2021-09-06 22:13:33 -04:00
committed by Graham Christensen
parent 55b7802b61
commit c54629b732
+2 -2
View File
@@ -66,8 +66,8 @@ sub getStatsdConfig {
my %statsd = defined $cfg ? ref $cfg eq "HASH" ? %$cfg : ($cfg) : ();
return {
"host" => %statsd{'host'} // 'localhost',
"port" => %statsd{'port'} // 8125,
"host" => $statsd{'host'} // 'localhost',
"port" => $statsd{'port'} // 8125,
}
}