autopilot: continue threading context

Remove one context.TODO and add one more.
This commit is contained in:
Elle Mouton committed 2025-05-22 14:14:38 +02:00
1 parent 13fcb08794
commit 1c6c6436af
5 files changed
+17 -7

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ type NodeMetric interface {
Name() string
// Refresh refreshes the metric values based on the current graph.
Refresh(graph ChannelGraph) error
Refresh(ctx context.Context, graph ChannelGraph) error
// GetMetric returns the latest value of this metric. Values in the
// map are per node and can be in arbitrary domain. If normalize is