pool.Get instead pool.Dial for pullSpace
This commit is contained in:
parent
9828b1ea04
commit
7c017f6249
@ -170,7 +170,7 @@ func (s *spaceService) getSpaceStorageFromRemote(ctx context.Context, id string)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
p, err = s.pool.DialOneOf(ctx, lastConfiguration.NodeIds(id))
|
p, err = s.pool.GetOneOf(ctx, lastConfiguration.NodeIds(id))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user