Skip to content

Commit f512aae

Browse files
authored
Merge pull request #4 from supabase/chore/adjust-module-name
chore: adjust module names to match package name.
2 parents 218ad3b + 62990cc commit f512aae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/cluster/strategy/postgres.ex renamed to lib/strategy.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Cluster.Strategy.Postgres do
1+
defmodule LibclusterPostgres.Strategy do
22
@moduledoc """
33
A libcluster strategy that uses Postgres LISTEN/NOTIFY to determine the cluster topology.
44

test/cluster/strategy/postgres_test.exs renamed to test/strategy_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Cluster.Strategy.PostgresTest do
1+
defmodule LibclusterPostgres.StrategyTest do
22
use ExUnit.Case
33

44
alias Postgrex.Notifications
@@ -17,7 +17,7 @@ defmodule Cluster.Strategy.PostgresTest do
1717
verify_conn_notification = start_supervised!({Notifications, @config})
1818
Notifications.listen(verify_conn_notification, @config[:channel_name])
1919

20-
topologies = [postgres: [strategy: Cluster.Strategy.Postgres, config: @config]]
20+
topologies = [postgres: [strategy: LibclusterPostgres.Strategy, config: @config]]
2121
start_supervised!({Cluster.Supervisor, [topologies]})
2222

2323
channel_name = @config[:channel_name]

0 commit comments

Comments
 (0)