aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/vespa/target_cloud.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-11-29 10:46:28 +0100
committerMartin Polden <mpolden@mpolden.no>2023-11-29 16:12:02 +0100
commit20d4f112c5292a4646635a93f707f662140e510b (patch)
treeea3003866c92955eef347ffc88aacb57dc3e2895 /client/go/internal/vespa/target_cloud.go
parent68b693e21343845e77f14f608d4620e7dc663eea (diff)
Extract httputil package
Diffstat (limited to 'client/go/internal/vespa/target_cloud.go')
-rw-r--r--client/go/internal/vespa/target_cloud.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/go/internal/vespa/target_cloud.go b/client/go/internal/vespa/target_cloud.go
index 708810061d2..c063b99edef 100644
--- a/client/go/internal/vespa/target_cloud.go
+++ b/client/go/internal/vespa/target_cloud.go
@@ -12,7 +12,7 @@ import (
"strconv"
"time"
- "github.com/vespa-engine/vespa/client/go/internal/util"
+ "github.com/vespa-engine/vespa/client/go/internal/httputil"
"github.com/vespa-engine/vespa/client/go/internal/version"
)
@@ -35,7 +35,7 @@ type cloudTarget struct {
apiOptions APIOptions
deploymentOptions CloudDeploymentOptions
logOptions LogOptions
- httpClient util.HTTPClient
+ httpClient httputil.Client
apiAuth Authenticator
deploymentAuth Authenticator
retryInterval time.Duration
@@ -74,7 +74,7 @@ type logMessage struct {
}
// CloudTarget creates a Target for the Vespa Cloud or hosted Vespa platform.
-func CloudTarget(httpClient util.HTTPClient, apiAuth Authenticator, deploymentAuth Authenticator,
+func CloudTarget(httpClient httputil.Client, apiAuth Authenticator, deploymentAuth Authenticator,
apiOptions APIOptions, deploymentOptions CloudDeploymentOptions,
logOptions LogOptions, retryInterval time.Duration) (Target, error) {
return &cloudTarget{