Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't attempt that hostname thing, clearly dubious.

  • Loading branch information...
commit b0420a1454533b3495919d66ce32b5665875f9eb 1 parent 9911426
@simonmacmullen simonmacmullen authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/rabbit_mgmt_external_stats.erl
View
5 src/rabbit_mgmt_external_stats.erl
@@ -193,10 +193,7 @@ format_context({Path, Description, Rest}) ->
none -> [];
_ -> [{description, list_to_binary(Description)}]
end,
- {ok, Hostname} = inet:gethostname(),
- FQDN = Hostname ++ "." ++ proplists:get_value(domain, inet:get_rc()),
- DescPart ++ [{path, list_to_binary("/" ++ Path)},
- {host, list_to_binary(FQDN)}] ++ Rest.
+ DescPart ++ [{path, list_to_binary("/" ++ Path)}] ++ Rest.
%%--------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.