proxy/grpcproxy: fix spell 'gropu' to 'group'

release-3.1
Gyu-Ho Lee 2016-08-13 20:55:15 -07:00
parent 4d3b281369
commit 19b35c939a
1 changed files with 3 additions and 3 deletions

View File

@ -72,10 +72,10 @@ func (wgs *watchergroups) maybeJoinWatcherSingle(rid receiverID, ws watcherSingl
wgs.mu.Lock()
defer wgs.mu.Unlock()
gropu, ok := wgs.groups[ws.w.wr]
group, ok := wgs.groups[ws.w.wr]
if ok {
if ws.w.rev >= gropu.rev {
gropu.add(receiverID{streamID: ws.sws.id, watcherID: ws.w.id}, ws.w)
if ws.w.rev >= group.rev {
group.add(receiverID{streamID: ws.sws.id, watcherID: ws.w.id}, ws.w)
return true
}
return false