Skip to content

Commit 08bd7fc

Browse files
committed
Fix ioutil.ReadAll
1 parent f5a2a52 commit 08bd7fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"encoding/json"
2020
"fmt"
21-
"io"
21+
"io/ioutil"
2222
"net"
2323
"net/http"
2424
"os"
@@ -80,7 +80,7 @@ func Run(ctx context.Context, args []string) int {
8080
}
8181

8282
if config.Config != nil {
83-
bytes, err := io.ReadAll(config.Config)
83+
bytes, err := ioutil.ReadAll(config.Config)
8484
if err != nil {
8585
cliCtx.Errorf("unable to read contents of configuration file '%s': %v", config.Config.Name(), err)
8686
return 1

0 commit comments

Comments
 (0)