This commit is contained in:
chrislu 2022-09-25 19:00:34 -07:00
parent 24317a9763
commit 264c138c1d

View file

@ -17,13 +17,13 @@ var _ = MessageBufferMover(&EmptyMover{})
type EmptyMover struct { type EmptyMover struct {
} }
func (e EmptyMover) Setup() { func (e *EmptyMover) Setup() {
} }
func (e EmptyMover) TearDown() { func (e *EmptyMover) TearDown() {
} }
func (e EmptyMover) MoveBuffer(buffer *MessageBuffer) (MessageBufferReference, error) { func (e *EmptyMover) MoveBuffer(buffer *MessageBuffer) (MessageBufferReference, error) {
println("moving", buffer.sequenceBase) println("moving", buffer.sequenceBase)
return MessageBufferReference{ return MessageBufferReference{
sequence: buffer.sequenceBase, sequence: buffer.sequenceBase,