Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedipity committed Feb 14, 2023
1 parent 2852809 commit d85de8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions logdna/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
)

Expand Down Expand Up @@ -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,
}

Expand Down

0 comments on commit d85de8c

Please sign in to comment.