Skip to content

Commit

Permalink
remove unused method after removal of director oauth client
Browse files Browse the repository at this point in the history
  • Loading branch information
koala7659 committed May 7, 2024
1 parent a9c956d commit 56f488e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions components/provisioner/cmd/init.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package main

import (
"crypto/tls"
"fmt"
"net/http"
"os"
"time"

Expand Down Expand Up @@ -83,12 +81,3 @@ func newGardenerClusterConfig(cfg config) (*restclient.Config, error) {

return gardenerClusterConfig, nil
}

func newHTTPClient(skipCertVerification bool) *http.Client {
return &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: skipCertVerification},
},
Timeout: 30 * time.Second,
}
}

0 comments on commit 56f488e

Please sign in to comment.