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.
2 parents d687bf0 + b8878e7 commit b822e85Copy full SHA for b822e85
src/rabbit_queue_location_validator.erl
@@ -54,7 +54,6 @@ module(#amqqueue{} = Q) ->
54
undefined -> no_location_strategy;
55
Mode -> module(Mode)
56
end;
57
-
58
module(Strategy) when is_binary(Strategy) ->
59
case rabbit_registry:binary_to_type(Strategy) of
60
{error, not_found} -> no_location_strategy;
@@ -68,4 +67,6 @@ module(Strategy) when is_binary(Strategy) ->
68
67
_ ->
69
no_location_strategy
70
end
71
- end.
+ end;
+module(Strategy) ->
72
+ module(rabbit_data_coercion:to_binary(Strategy)).
0 commit comments