This commit is contained in:
@@ -465,7 +465,7 @@ func (p *SyncedPool) getGrainPool(id CartId) (GrainPool, error) {
|
||||
p.mu.RLock()
|
||||
remotePool, ok := p.remoteIndex[id]
|
||||
p.mu.RUnlock()
|
||||
if ok {
|
||||
if ok && remotePool != nil {
|
||||
remoteLookupCount.Inc()
|
||||
return remotePool, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user