Raindrops::Linux methods expect array (#70)

approved
#1

Raindrops::Linux methods expect array (#70)

diff --git a/lib/prometheus_exporter/instrumentation/unicorn.rb b/lib/prometheus_exporter/instrumentation/unicorn.rb
index e5ee3e1..1dce50d 100644
--- a/lib/prometheus_exporter/instrumentation/unicorn.rb
+++ b/lib/prometheus_exporter/instrumentation/unicorn.rb
@@ -61,9 +61,9 @@ module PrometheusExporter::Instrumentation
 
     def listener_address_stats
       if @tcp
-        Raindrops::Linux.tcp_listener_stats(@listener_address)[@listener_address]
+        Raindrops::Linux.tcp_listener_stats([@listener_address])[@listener_address]
       else
-        Raindrops::Linux.unix_listener_stats(@listener_address)[@listener_address]
+        Raindrops::Linux.unix_listener_stats([@listener_address])[@listener_address]
       end
     end
   end

GitHub sha: ee367bc3

Approved #2