Skip to content

Commit 84f3bfb

Browse files
committed
easwars review 1
1 parent 9399bb1 commit 84f3bfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xds/internal/clients/lrsclient/load_store.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ func (p *PerClusterReporter) CallServerLoad(locality clients.Locality, name stri
193193

194194
// CallDropped records a call dropped in the LoadStore.
195195
func (p *PerClusterReporter) CallDropped(category string) {
196-
c := clients.Locality{Region: category}
197-
d, ok := p.drops.Load(c)
196+
d, ok := p.drops.Load(category)
198197
if !ok {
199198
tp := new(uint64)
200199
d, _ = p.drops.LoadOrStore(category, tp)

0 commit comments

Comments
 (0)