Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/async/service/supervisor/envoy/supervised.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Supervised
# Prepare and register a worker after its listener has been bound.
# @parameter instance [Async::Container::Instance] The container instance.
# @parameter listener [Object] The bound listener descriptor.
def prepare_worker!(instance, listener:)
def prepare_worker!(instance, listener)
prepare!(instance, state: {endpoint: envoy_endpoint(listener)})
end

Expand Down
4 changes: 4 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Releases

## Unreleased

- Accept the required Falcon listener as a positional worker preparation argument.

## v0.1.0

- Deduplicate immutable endpoint values reported by multiple supervised workers and aggregate their health.
Expand Down
2 changes: 1 addition & 1 deletion test/async/service/supervisor/envoy/supervised.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def prepare!(...)

expect(evaluator).to receive(:prepare!).with(instance, state: state)

evaluator.prepare_worker!(instance, listener: listener)
evaluator.prepare_worker!(instance, listener)
end

it "rejects unsupported listener addresses" do
Expand Down
Loading