Skip to content

Commit

Permalink
Added missing context value to PeerStats
Browse files Browse the repository at this point in the history
  • Loading branch information
UnAfraid committed Oct 22, 2023
1 parent aefcc93 commit 7fafbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/internal/peer/peer_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (r *peerResolver) Stats(ctx context.Context, p *model.Peer) (*model.PeerSta
return nil, nil
}

stats, err := r.manageService.PeerStats(nil, server.Name, p.PublicKey)
stats, err := r.manageService.PeerStats(ctx, server.Name, p.PublicKey)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7fafbba

Please sign in to comment.