From d85de8cb3a5f9a45bfc56135dbfe5df5eac82830 Mon Sep 17 00:00:00 2001 From: Jacob Hull Date: Tue, 14 Feb 2023 13:58:52 -0800 Subject: [PATCH] work --- logdna/request.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/logdna/request.go b/logdna/request.go index a7003b4..a5d9e4e 100644 --- a/logdna/request.go +++ b/logdna/request.go @@ -5,7 +5,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "net/http" ) @@ -47,7 +46,7 @@ func newRequestConfig(pc *providerConfig, method string, uri string, body interf method: method, body: body, httpRequest: http.NewRequest, - bodyReader: ioutil.ReadAll, + bodyReader: io.ReadAll, jsonMarshal: json.Marshal, }