autopilot: continue threading context
Remove one context.TODO and add one more.
This commit is contained in:
5 files changed
+17
-7
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user