summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <luke@bakken.io>2023-04-24 10:06:46 -0700
committerLuke Bakken <luke@bakken.io>2023-04-24 11:39:16 -0700
commit667db169498646430f10d9404cf67aae562b8c9e (patch)
tree027397f6aaf3287059d5f7ae3cc5ba1f2ceb2736
parent3f27a1c27b731adce3c7661f9c5e51574bd0da60 (diff)
downloadrabbitmq-server-git-667db169498646430f10d9404cf67aae562b8c9e.tar.gz
Tweak type spec
-rw-r--r--deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl b/deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl
index dd6e270754..04ae9acefc 100644
--- a/deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl
+++ b/deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl
@@ -194,7 +194,7 @@ join_tags(Tags) ->
Strings = [rabbit_data_coercion:to_list(T) || T <- Tags],
string:join(Strings, " ").
--spec parse_peeraddr(inet:ip_address()) -> string().
+-spec parse_peeraddr(inet:ip_address() | unknown) -> string().
parse_peeraddr(unknown) ->
rabbit_data_coercion:to_list(unknown);
parse_peeraddr(PeerAddr) ->