forked from TrueCloudLab/frostfs-node
[#584] pkg/innerring: Stop using deprecated methods
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
91f010e0a9
commit
057ebf9d51
11 changed files with 65 additions and 44 deletions
|
@ -29,11 +29,7 @@ func (np *Processor) processNewEpoch(epoch uint64) {
|
|||
}
|
||||
|
||||
if epoch > 0 { // estimates are invalid in genesis epoch
|
||||
if np.notaryDisabled {
|
||||
err = np.containerWrp.StartEstimation(epoch - 1)
|
||||
} else {
|
||||
err = np.containerWrp.StartEstimationNotary(epoch - 1)
|
||||
}
|
||||
err = np.containerWrp.StartEstimation(epoch - 1)
|
||||
|
||||
if err != nil {
|
||||
np.log.Warn("can't start container size estimation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue