crap
Some checks failed
Build and Publish / BuildAndDeploy (push) Has been cancelled

This commit is contained in:
matst80
2024-11-10 13:14:22 +01:00
parent 08b22316e5
commit 56f8a0b762

View File

@@ -465,7 +465,7 @@ func (p *SyncedPool) getGrainPool(id CartId) (GrainPool, error) {
p.mu.RLock() p.mu.RLock()
remotePool, ok := p.remoteIndex[id] remotePool, ok := p.remoteIndex[id]
p.mu.RUnlock() p.mu.RUnlock()
if ok { if ok && remotePool != nil {
remoteLookupCount.Inc() remoteLookupCount.Inc()
return remotePool, nil return remotePool, nil
} }