From 3979bf0f99c475b7b8f514dbb7eea12d39363990 Mon Sep 17 00:00:00 2001 From: Derek Perkins Date: Fri, 19 Jun 2020 23:51:41 -0600 Subject: [PATCH] fix type --- groupcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groupcache.go b/groupcache.go index d416d42..ae400ca 100644 --- a/groupcache.go +++ b/groupcache.go @@ -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)