Skip to content

Commit 8565fe5

Browse files
committed
Resampling: Reuse existing variable.
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 93110d1 commit 8565fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/sdk/actor/_resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def _subscribe(self, request: ComponentMetricRequest) -> None:
7979

8080
# This is a temporary hack until the Sender implementation uses
8181
# exceptions to report errors.
82-
sender = self._channel_registry.new_sender(request.get_channel_name())
82+
sender = self._channel_registry.new_sender(request_channel_name)
8383

8484
async def sink_adapter(sample: Sample[Quantity]) -> None:
8585
await sender.send(sample)

0 commit comments

Comments
 (0)