Skip to content

Commit 74aff57

Browse files
SimonUngemergify[bot]
authored andcommitted
Fix wrong queue-pattern type
(cherry picked from commit e8a872f) (cherry picked from commit 5446795)
1 parent 444f801 commit 74aff57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

deps/rabbit/priv/schema/rabbit.schema

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,8 @@ end}.
795795
_ -> V
796796
end,
797797
{["default_policies","operator",ID|T], NewV};
798+
({["default_policies","operator",ID, "queue_pattern"], V}) ->
799+
{["default_policies","operator",ID,"queue_pattern"], list_to_binary(V)};
798800
(E) -> E
799801
end),
800802
case Props of

deps/rabbit/test/config_schema_SUITE_data/rabbit.snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ ssl_options.fail_if_no_peer_cert = true",
158158
{<<"ha_mode">>, <<"exactly">>},
159159
{<<"ha_params">>, 2},
160160
{<<"ha_sync_mode">>, <<"automatic">>},
161-
{<<"queue_pattern">>, "apple"},
161+
{<<"queue_pattern">>, <<"apple">>},
162162
{<<"vhost_pattern">>, "banana"}]}]}]}]}],
163163
[]},
164164

0 commit comments

Comments
 (0)