Skip to content

Commit

Permalink
Fix wrong queue-pattern type
Browse files Browse the repository at this point in the history
(cherry picked from commit e8a872f)
  • Loading branch information
SimonUnge authored and mergify[bot] committed Sep 26, 2023
1 parent 16825e6 commit 5446795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deps/rabbit/priv/schema/rabbit.schema
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,8 @@ end}.
_ -> V
end,
{["default_policies","operator",ID|T], NewV};
({["default_policies","operator",ID, "queue_pattern"], V}) ->
{["default_policies","operator",ID,"queue_pattern"], list_to_binary(V)};
(E) -> E
end),
case Props of
Expand Down
2 changes: 1 addition & 1 deletion deps/rabbit/test/config_schema_SUITE_data/rabbit.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ ssl_options.fail_if_no_peer_cert = true",
{<<"ha_mode">>, <<"exactly">>},
{<<"ha_params">>, 2},
{<<"ha_sync_mode">>, <<"automatic">>},
{<<"queue_pattern">>, "apple"},
{<<"queue_pattern">>, <<"apple">>},
{<<"vhost_pattern">>, "banana"}]}]}]}]}],
[]},

Expand Down

0 comments on commit 5446795

Please sign in to comment.