Skip to content

Commit 6d5f54b

Browse files
Merge pull request #9546 from rabbitmq/mergify/bp/v3.11.x/pr-9545
Fix wrong queue-pattern type (backport #9542) (backport #9545)
2 parents 444f801 + 74aff57 commit 6d5f54b

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)