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
@@ -6857,7 +6857,7 @@ func (r *rpcServer) GetNodeMetrics(ctx context.Context,
if err != nil {
return nil, err
}
if err := centralityMetric.Refresh(channelGraph); err != nil {
if err := centralityMetric.Refresh(ctx, channelGraph); err != nil {
return nil, err
}