Skip to content

Commit d85de8c

Browse files
committed
work
1 parent 2852809 commit d85de8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

logdna/request.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"encoding/json"
66
"fmt"
77
"io"
8-
"io/ioutil"
98
"net/http"
109
)
1110

@@ -47,7 +46,7 @@ func newRequestConfig(pc *providerConfig, method string, uri string, body interf
4746
method: method,
4847
body: body,
4948
httpRequest: http.NewRequest,
50-
bodyReader: ioutil.ReadAll,
49+
bodyReader: io.ReadAll,
5150
jsonMarshal: json.Marshal,
5251
}
5352

0 commit comments

Comments
 (0)