Skip to content

Commit 31f3638

Browse files
MarenzCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]> Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 13d1d10 commit 31f3638

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
## Upgrading
88

9-
* The `key` parameter in the `Dispatcher` constructor is now deprecated. Use `sign_secret` instead.
9+
* The `key` parameter in the `Dispatcher` constructor is now deprecated. Use `auth_key` instead. The `sign_secret` parameter is an additional optional parameter for signing.
1010

1111
## New Features
1212

1313
* `dry_run` status is now considered when merging dispatches. Dispatches with different `dry_run` values will no longer be merged, ensuring that dry-run and operational dispatches are handled by separate actors.
14-
* Two new parmeters where added to the `Dispatcher` constructor:
14+
* Two new parameters were added to the `Dispatcher` constructor:
1515
* `sign_secret`: A secret key used for signing messages.
1616
* `auth_key`: An authentication key for the Dispatch API.
1717

src/frequenz/dispatch/_dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def __init__(
237237

238238
self._client = DispatchApiClient(
239239
server_url=server_url,
240-
auth_key=key,
240+
auth_key=auth_key,
241241
sign_secret=sign_secret,
242242
call_timeout=call_timeout,
243243
stream_timeout=stream_timeout,

0 commit comments

Comments
 (0)