mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-19 05:13:57 +00:00
fix type
This commit is contained in:
parent
3f29740e18
commit
3979bf0f99
@ -265,7 +265,7 @@ func (g *Group) Remove(ctx context.Context, key string) error {
|
||||
}
|
||||
|
||||
wg.Add(1)
|
||||
go func(peer string) {
|
||||
go func(peer ProtoGetter) {
|
||||
errs <- g.removeFromPeer(ctx, peer, key)
|
||||
wg.Done()
|
||||
}(peer)
|
||||
|
Loading…
Reference in New Issue
Block a user