[#6] services/object: Remove nmSrc wrapper

It calls a single method from source without any processing.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2022-12-30 14:06:47 +03:00
parent 1a67329309
commit cbd5f74ca5
8 changed files with 20 additions and 38 deletions

View file

@ -107,7 +107,7 @@ func (exec *execCtx) initEpoch() bool {
return true
}
e, err := exec.svc.currentEpochReceiver.currentEpoch()
e, err := exec.svc.epochSource.Epoch()
switch {
default: