forked from TrueCloudLab/frostfs-sdk-go
[#227] netmap: Fix minor blots in documentation/code
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ca523f1ff1
commit
d648b86776
10 changed files with 46 additions and 45 deletions
|
@ -35,7 +35,7 @@ func (c *context) processSelectors(p PlacementPolicy) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// calcNodesCount returns amount of buckets and minimum number of nodes in every bucket
|
||||
// calcNodesCount returns number of buckets and minimum number of nodes in every bucket
|
||||
// for the given selector.
|
||||
func calcNodesCount(s netmap.Selector) (int, int) {
|
||||
switch s.GetClause() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue