mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-17 02:21:47 +02:00
Pass the ctx to the close function
This commit is contained in:
@ -85,7 +85,7 @@ func transfer(t *testing.T, testData []byte, peerPairs int) {
|
||||
}()
|
||||
|
||||
defer func() {
|
||||
err := srv.Close()
|
||||
err := srv.Close(ctx)
|
||||
if err != nil {
|
||||
t.Errorf("failed to close server: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user