BlockAllocate should respect user allocations
This commit is contained in:
parent
6bd897ac47
commit
ea7093aa73
|
@ -396,8 +396,8 @@ func (rpcapi *ClusterRPCAPI) BlockAllocate(ctx context.Context, in *api.Pin, out
|
|||
in.Cid,
|
||||
in.ReplicationFactorMin,
|
||||
in.ReplicationFactorMax,
|
||||
[]peer.ID{}, // blacklist
|
||||
[]peer.ID{}, // prio list
|
||||
[]peer.ID{}, // blacklist
|
||||
in.UserAllocations, // prio list
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user