doc: Actualize docs for ContainerNodes func

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
This commit is contained in:
Evgenii Baidakov 2023-04-21 10:24:37 +04:00
parent 4b6965f209
commit 83ca99ae92
No known key found for this signature in database
GPG key ID: 8733EE3D72CDB4DE

View file

@ -168,8 +168,8 @@ func (m NetMap) PlacementVectors(vectors [][]NodeInfo, objectID oid.ID) ([][]Nod
// given PlacementPolicy to the NetMap. Each line of the list corresponds to a // given PlacementPolicy to the NetMap. Each line of the list corresponds to a
// replica descriptor. Line order corresponds to order of ReplicaDescriptor list // replica descriptor. Line order corresponds to order of ReplicaDescriptor list
// in the policy. Nodes are pre-filtered according to the Filter list from // in the policy. Nodes are pre-filtered according to the Filter list from
// the policy, and then selected by Selector list. Result is deterministic for // the policy, and then selected by Selector list. Result is not deterministic and
// the fixed NetMap and parameters. // node order in each vector may vary for call.
// //
// Result can be used in PlacementVectors. // Result can be used in PlacementVectors.
func (m NetMap) ContainerNodes(p PlacementPolicy, containerID cid.ID) ([][]NodeInfo, error) { func (m NetMap) ContainerNodes(p PlacementPolicy, containerID cid.ID) ([][]NodeInfo, error) {