forked from TrueCloudLab/frostfs-node
[#446] innerring: Rename server.Index
to server.InnerRingIndex
With different indexes for inner ring list and alphabet list this is the better naming. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
80bfd08a47
commit
cd21641dfc
5 changed files with 8 additions and 8 deletions
|
@ -27,7 +27,7 @@ func (ap *Processor) selectContainersToAudit(epoch uint64) ([]*container.ID, err
|
|||
return strings.Compare(containers[i].String(), containers[j].String()) < 0
|
||||
})
|
||||
|
||||
ind := ap.irList.Index()
|
||||
ind := ap.irList.InnerRingIndex()
|
||||
irSize := ap.irList.InnerRingSize()
|
||||
|
||||
if ind < 0 || ind >= irSize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue