aboutsummaryrefslogtreecommitdiff
path: root/syncapi/internal/keychange_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/internal/keychange_test.go')
-rw-r--r--syncapi/internal/keychange_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/internal/keychange_test.go b/syncapi/internal/keychange_test.go
index c2501181..adf498d2 100644
--- a/syncapi/internal/keychange_test.go
+++ b/syncapi/internal/keychange_test.go
@@ -18,7 +18,7 @@ var (
syncingUser = "@alice:localhost"
emptyToken = types.NewStreamToken(0, 0, nil)
newestToken = types.NewStreamToken(0, 0, map[string]*types.LogPosition{
- DeviceListLogName: &types.LogPosition{
+ DeviceListLogName: {
Offset: sarama.OffsetNewest,
Partition: 0,
},