[#28] pilorama: Remove LogMove struct

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-01-25 14:12:02 +03:00 committed by fyrchik
parent 46c62be7e8
commit d65a95a2c6
8 changed files with 24 additions and 27 deletions

View file

@ -17,7 +17,7 @@ import (
type movePair struct {
cid cidSDK.ID
treeID string
op *pilorama.LogMove
op *pilorama.Move
}
type replicationTask struct {
@ -141,7 +141,7 @@ func (s *Service) replicate(op movePair) error {
return nil
}
func (s *Service) pushToQueue(cid cidSDK.ID, treeID string, op *pilorama.LogMove) {
func (s *Service) pushToQueue(cid cidSDK.ID, treeID string, op *pilorama.Move) {
select {
case s.replicateCh <- movePair{
cid: cid,