Fix node-authorizer/pkg/authorizers/aws staticcheck failure

This commit is contained in:
John Gardiner Myers 2019-12-29 15:54:50 -08:00
parent 4c57d2aad4
commit 00abe3af7e
2 changed files with 0 additions and 15 deletions

View File

@ -1,4 +1,3 @@
node-authorizer/pkg/authorizers/aws
node-authorizer/pkg/server
pkg/resources/openstack
upup/pkg/fi

View File

@ -19,9 +19,6 @@ package aws
import (
"context"
"encoding/json"
"net"
"net/http"
"time"
"k8s.io/kops/node-authorizer/pkg/server"
@ -29,17 +26,6 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
)
// hc is the http client
var hc = &http.Client{
Timeout: 10 * time.Second,
Transport: &http.Transport{
Dial: (&net.Dialer{
Timeout: 10 * time.Second,
}).Dial,
TLSHandshakeTimeout: 10 * time.Second,
},
}
type awsNodeVerifier struct{}
// NewVerifier creates and returns a verifier