aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/admin/deploy/curl.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/internal/admin/deploy/curl.go')
-rw-r--r--client/go/internal/admin/deploy/curl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/internal/admin/deploy/curl.go b/client/go/internal/admin/deploy/curl.go
index ca044128e93..0ce1305226f 100644
--- a/client/go/internal/admin/deploy/curl.go
+++ b/client/go/internal/admin/deploy/curl.go
@@ -89,7 +89,7 @@ func runCurl(cmd *curl.Command, stdout io.Writer) error {
if err != nil {
if ee, ok := err.(*exec.ExitError); ok {
if ee.ProcessState.ExitCode() == 7 {
- return fmt.Errorf("HTTP request failed. Could not connect to %s", cmd.GetUrlPrefix())
+ return fmt.Errorf("HTTP request failed. Could not connect to %s", cmd.URLPrefix())
}
}
return fmt.Errorf("HTTP request failed with curl %s", err.Error())