diff options
| author | Paul Buetow <paul@buetow.org> | 2023-06-18 12:19:03 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-06-18 12:19:03 +0300 |
| commit | e3c903c49c798531124a1c59859f47d04d4534b9 (patch) | |
| tree | 641b0df3c3ed06c844e8bda48bc6b386d68e8e1f /internal/client | |
| parent | 6fe2579b65eaf78573d8b08c94dc1b313c20b9d9 (diff) | |
fix lint errors
Diffstat (limited to 'internal/client')
| -rw-r--r-- | internal/client/tcpclient.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/client/tcpclient.go b/internal/client/tcpclient.go index f521ee3..1a76ad6 100644 --- a/internal/client/tcpclient.go +++ b/internal/client/tcpclient.go @@ -3,7 +3,7 @@ package client import ( "context" "fmt" - "io/ioutil" + "io" "log" "net" @@ -36,7 +36,7 @@ func tcpClientRun(ctx context.Context, node string, ch <-chan vote.Vote) error { return err } - response, err := ioutil.ReadAll(conn) + response, err := io.ReadAll(conn) if err != nil { return err } |
