We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b1cc8 commit 06932b9Copy full SHA for 06932b9
deps/rabbit/src/rabbit_nodes.erl
@@ -73,8 +73,10 @@ is_process_running(Node, Process) ->
73
-spec cluster_name() -> binary().
74
75
cluster_name() ->
76
- rabbit_runtime_parameters:value_global(
77
- cluster_name, cluster_name_default()).
+ case rabbit_runtime_parameters:value_global(cluster_name) of
+ not_found -> cluster_name_default();
78
+ Name -> Name
79
+ end.
80
81
cluster_name_default() ->
82
{ID, _} = parts(node()),
0 commit comments