fix db test
All checks were successful
Go / build (1.21) (push) Successful in 2m32s
Go / build (1.22) (push) Successful in 2m30s

This commit is contained in:
saji 2024-03-06 10:51:54 -06:00
parent 8e314e9303
commit d591fa21b6

View file

@ -139,7 +139,7 @@ func TestTelemDb(t *testing.T) {
ctx := context.Background()
f := BusEventFilter{}
limitMod := LimitOffsetModifier{Limit: 1}
limitMod := &LimitOffsetModifier{Limit: 1}
pkt, err := tdb.GetPackets(ctx, f, limitMod)
if err != nil {
t.Fatalf("error getting packets: %v", err)