Skip to content

Commit ea201ac

Browse files
committed
Utils: Tests: Maintain go1.15 compatibility in tests
1 parent c6924b7 commit ea201ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esutil/bulk_indexer_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ func TestBulkIndexer(t *testing.T) {
703703
return &http.Response{
704704
StatusCode: http.StatusOK,
705705
Status: "200 OK",
706-
Body: io.NopCloser(bytes.NewBuffer(nil)),
706+
Body: ioutil.NopCloser(bytes.NewBuffer(nil)),
707707
}, nil
708708
},
709709
},

0 commit comments

Comments
 (0)