Skip to content

Commit

Permalink
Update to testdata.SampleLogList3 in distributor_test.go (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk authored Aug 9, 2022
1 parent 9683620 commit 52d94d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submission/distributor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func newNoLogClient(_ *loglist3.Log) (client.AddLogClient, error) {

func sampleLogList() *loglist3.LogList {
var ll loglist3.LogList
if err := json.Unmarshal([]byte(testdata.SampleLogList2), &ll); err != nil {
panic(fmt.Errorf("unable to Unmarshal testdata.SampleLogList: %v", err))
if err := json.Unmarshal([]byte(testdata.SampleLogList3), &ll); err != nil {
panic(fmt.Errorf("unable to Unmarshal testdata.SampleLogList3: %v", err))
}
return &ll
}
Expand Down

0 comments on commit 52d94d8

Please sign in to comment.