Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikykun committed Apr 18, 2024
1 parent 682d413 commit bb21efe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"context"
"flag"
"fmt"
"io/ioutil"
"net"
"net/http"
"os"
Expand Down Expand Up @@ -188,7 +187,7 @@ func getRestConfig() (*rest.Config, error) {
return nil, rest.ErrNotInCluster
}

token, err := ioutil.ReadFile(tokenFile)
token, err := os.ReadFile(tokenFile)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit bb21efe

Please sign in to comment.