Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

#3058 Remove XipIoResolver #3059

Merged
merged 1 commit into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions cli/cmd/check_endpoint_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import (
"crypto/tls"
"net/http"
"time"

apiUtils "github.com/keptn/go-utils/pkg/api/utils"
)

var maxHTTPTimeout = 5 * time.Second
Expand All @@ -21,7 +19,6 @@ var checkEndPointStatusMock = false
var client = http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
DialContext: apiUtils.ResolveXipIoWithContext,
},
}

Expand Down
4 changes: 0 additions & 4 deletions cli/cmd/configure_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (

"github.com/keptn/keptn/cli/pkg/credentialmanager"
"github.com/spf13/cobra"

keptnutils "github.com/keptn/go-utils/pkg/api/utils"
)

type configureBridgeCmdParams struct {
Expand Down Expand Up @@ -73,7 +71,6 @@ func retrieveBridgeCredentials(endpoint string, apiToken string) (*configureBrid
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
DialContext: keptnutils.ResolveXipIoWithContext,
},
}
req, err := http.NewRequest("GET", endpoint, nil)
Expand Down Expand Up @@ -115,7 +112,6 @@ func configureBridgeCredentials(endpoint string, apiToken string, configureBridg
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
DialContext: keptnutils.ResolveXipIoWithContext,
},
}

Expand Down