[#227] netmap: Fix minor blots in documentation/code

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-06-14 17:27:51 +03:00 committed by LeL
parent ca523f1ff1
commit d648b86776
10 changed files with 46 additions and 45 deletions

View file

@ -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() {