Skip to content

Commit 5ca1135

Browse files
committed
fix: incorrect singular form in erlang:float_to_binary/2 call
1 parent b2cdcf6 commit 5ca1135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oc_stat_exporter_datadog.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ format_num(infinity) -> <<"infinity">>;
8383
format_num(Integer) when is_integer(Integer) ->
8484
erlang:integer_to_binary(Integer);
8585
format_num(Float) when is_float(Float) ->
86-
erlang:float_to_binary(Float, [{decimal, 5}, compact]).
86+
erlang:float_to_binary(Float, [{decimals, 5}, compact]).

0 commit comments

Comments
 (0)