Skip to content

Commit 417e870

Browse files
committed
supervisor: use elixir keyword syntax for boot step attribute
Signed-off-by: Matteo Cafasso <[email protected]>
1 parent 40e97f3 commit 417e870

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/supervisor.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ defmodule RabbitMQ.MessageDeduplicationPlugin.Supervisor do
1717
:rabbit_boot_step,
1818
accumulate: true, persist: true
1919

20-
@rabbit_boot_step {__MODULE__,
21-
[{:description,
22-
"message deduplication plugin cache supervisor"},
23-
{:mfa, {__MODULE__, :start_link, []}},
24-
{:requires, :database},
25-
{:enables, :external_infrastructure}]}
20+
@rabbit_boot_step {
21+
__MODULE__,
22+
[description: "message deduplication plugin cache supervisor",
23+
mfa: {__MODULE__, :start_link, []},
24+
requires: :database,
25+
enables: :external_infrastructure]}
2626

2727
@doc """
2828
Start the Supervisor process.

0 commit comments

Comments
 (0)