[#28] pilorama: Remove LogMove
struct
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
46c62be7e8
commit
d65a95a2c6
8 changed files with 24 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue