Remove unnecessary spec

This commit is contained in:
周子博 2018-11-30 14:24:29 +08:00 committed by Feng Lee
parent c87aabbbeb
commit f315994eb9
1 changed files with 0 additions and 1 deletions

View File

@ -170,7 +170,6 @@ trans(inc, Type, Metric, Val) ->
trans(dec, gauge, Metric, Val) -> trans(dec, gauge, Metric, Val) ->
hold(gauge, Metric, -Val). hold(gauge, Metric, -Val).
% -spec(hold(counter | gauge, atom(), integer()) -> integer()).
hold(Type, Metric, Val) when Type =:= counter orelse Type =:= gauge -> hold(Type, Metric, Val) when Type =:= counter orelse Type =:= gauge ->
NewMetrics = case get(metrics) of NewMetrics = case get(metrics) of
undefined -> undefined ->