Skip to content

Commit

Permalink
Fix OTHER call to json.NewSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
tomconte committed Oct 18, 2021
1 parent b319d7f commit 4fcc66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/event_hubs/event_hubs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (eh *mockEventHub) SendBatch(ctx context.Context, iterator eventhub.BatchIt
/* End wrapper interface */

func TestInitAndWrite(t *testing.T) {
serializer, _ := json.NewSerializer(time.Second)
serializer, _ := json.NewSerializer(time.Second, "")
mockHub := &mockEventHub{}
e := &EventHubs{
Hub: mockHub,
Expand Down

0 comments on commit 4fcc66a

Please sign in to comment.