Skip to content

Commit

Permalink
fix missing name in ConsumerServer (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciogoldchluk-yolo authored Aug 16, 2024
1 parent 3b2e3f0 commit 7530848
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [3.1.1] (2024-08-16)

### Bug fixes
- Fix missing `:name` when starting `ConsumerServer`

## [3.1.0] (2024-08-14)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion lib/coney/consumer_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Coney.ConsumerServer do
require Logger

def start_link([consumer]) do
GenServer.start_link(__MODULE__, [consumer])
GenServer.start_link(__MODULE__, [consumer], name: consumer)
end

@impl GenServer
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Coney.Mixfile do
def project do
[
app: :coney,
version: "3.1.0",
version: "3.1.1",
elixir: ">= 1.12.0",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 7530848

Please sign in to comment.