Skip to content

Commit

Permalink
update escape_label_value spec
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-seo committed Oct 16, 2023
1 parent ff2209b commit f28837a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/formats/prometheus_text_format.erl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ format(Registry) ->
ok = file:close(Fd),
Str.

-spec escape_label_value(binary() | iolist() | undefined) -> binary().
-spec escape_label_value(binary() | iolist()) -> binary()
; (undefined) -> no_return().
%% @doc
%% Escapes the backslash (\), double-quote ("), and line feed (\n) characters
%% @end
Expand Down

0 comments on commit f28837a

Please sign in to comment.