Skip to content

Commit

Permalink
doc: Actualize docs for ContainerNodes func
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
  • Loading branch information
smallhive committed Apr 21, 2023
1 parent 4b6965f commit 83ca99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netmap/netmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
// replica descriptor. Line order corresponds to order of ReplicaDescriptor list
// 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 fixed NetMap and parameters.
// the policy, and then selected by Selector list. Result is not deterministic and
// node order in each vector may vary for call.
//
// Result can be used in PlacementVectors.
func (m NetMap) ContainerNodes(p PlacementPolicy, containerID cid.ID) ([][]NodeInfo, error) {
Expand Down

0 comments on commit 83ca99a

Please sign in to comment.