use id in format
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m44s

This commit is contained in:
matst80
2024-11-10 14:28:06 +01:00
parent bcf6e6e9c6
commit 547c32d4a7

View File

@@ -471,8 +471,7 @@ func (p *SyncedPool) getGrainPool(id CartId) (GrainPool, error) {
p.mu.Lock() p.mu.Lock()
delete(p.remoteIndex, id) delete(p.remoteIndex, id)
p.mu.Unlock() p.mu.Unlock()
return nil, fmt.Errorf("remote pool is nil", id) return nil, fmt.Errorf("remote pool is nil for %v", id)
} }
remoteLookupCount.Inc() remoteLookupCount.Inc()
return remotePool, nil return remotePool, nil