Don't populate device list changes on complete sync

This commit is contained in:
Neil Alexander 2021-01-29 14:41:14 +00:00
parent 92ec1b2845
commit bc23f46acb
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -19,7 +19,7 @@ func (p *DeviceListStreamProvider) CompleteSync(
ctx context.Context, ctx context.Context,
req *types.SyncRequest, req *types.SyncRequest,
) types.LogPosition { ) types.LogPosition {
return p.IncrementalSync(ctx, req, types.LogPosition{}, p.LatestPosition(ctx)) return p.LatestPosition(ctx)
} }
func (p *DeviceListStreamProvider) IncrementalSync( func (p *DeviceListStreamProvider) IncrementalSync(