Skip to content

Commit

Permalink
removed deprecated ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu219 committed Jun 8, 2024
1 parent e83b474 commit 1e40ab6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lambda-extensions/lambdaapi/extensionapiclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lambdaapi
import (
"context"
"encoding/json"
"io/ioutil"
ioutil "io"
"net/http"
"net/http/httptest"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion lambda-extensions/lambdaapi/httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"context"
"fmt"
"io/ioutil"
ioutil "io"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion lambda-extensions/lambdaapi/logsapiclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package lambdaapi

import (
"context"
"io/ioutil"
ioutil "io"
"net/http"
"net/http/httptest"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion lambda-extensions/lambdaapi/telemetryapiclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package lambdaapi

import (
"context"
"io/ioutil"
ioutil "io"
"net/http"
"net/http/httptest"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion lambda-extensions/sumoclient/sumoclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sumoclient
import (
"context"
"fmt"
"io/ioutil"
ioutil "io"
"net/http"
"net/http/httptest"
"os"
Expand Down
2 changes: 1 addition & 1 deletion lambda-extensions/workers/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package workers

import (
"fmt"
"io/ioutil"
ioutil "io"
"net/http"

"github.com/sirupsen/logrus"
Expand Down

0 comments on commit 1e40ab6

Please sign in to comment.