Permalink
Browse files

Don't attempt that hostname thing, clearly dubious.

  • Loading branch information...
1 parent 9911426 commit b0420a1454533b3495919d66ce32b5665875f9eb Simon MacMullen committed May 16, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 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.
%%--------------------------------------------------------------------

0 comments on commit b0420a1

Please sign in to comment.