Upgrade hope to 4.0.0, which uses empty tuple as unit
[beam_stats.git] / src / beam_stats_consumer_graphite.erl
index fc43757..251f92e 100644 (file)
@@ -59,8 +59,7 @@ consume(Q, #state{}=State1) ->
 -spec terminate(state()) ->
     {}.
 terminate(#state{sock=SockOpt}) ->
-    ok = hope_option:iter(SockOpt, fun gen_tcp:close/1),
-    {}.
+    hope_option:iter(SockOpt, fun gen_tcp:close/1).
 
 %% ============================================================================
 
This page took 0.020135 seconds and 4 git commands to generate.