Skip to content

Commit fcd802e

Browse files
committed
formatting
1 parent 870c744 commit fcd802e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oc_reporter_datadog.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ build_span(Span, Service, Type) ->
128128
to_meta(Attributes) -> maps:map(fun to_meta/2, Attributes).
129129

130130
to_meta(_Name, Value) when is_integer(Value) -> integer_to_binary(Value);
131-
to_meta(_Name, Value) when is_float(Value) -> float_to_binary(Value, [compact, {decimals, 253}]);
131+
to_meta(_Name, Value) when is_float(Value) ->
132+
float_to_binary(Value, [compact, {decimals, 253}]);
132133
to_meta(Name, Value) -> to_tag(Name, Value).
133134

134135
to_tag(Value) -> to_tag(nil, Value).

0 commit comments

Comments
 (0)