diff --git a/src/script/hydra-send-stats b/src/script/hydra-send-stats index 8c7d2cd5..ee047276 100755 --- a/src/script/hydra-send-stats +++ b/src/script/hydra-send-stats @@ -2,6 +2,7 @@ use strict; use utf8; +use Hydra::Helper::Nix; use Net::Statsd; use File::Slurp; use JSON; @@ -10,7 +11,7 @@ STDERR->autoflush(1); binmode STDERR, ":encoding(utf8)"; my $config = getHydraConfig(); -my $statsdConfig = Hydra::Helper::Nix::getStatsdConfig($config); +my $statsdConfig = getStatsdConfig($config); $Net::Statsd::HOST = $statsdConfig->{'host'}; $Net::Statsd::PORT = $statsdConfig->{'port'};