aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/curl/curl.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/internal/curl/curl.go')
-rw-r--r--client/go/internal/curl/curl.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/go/internal/curl/curl.go b/client/go/internal/curl/curl.go
index b70e0f824a3..0ee21a7f4e1 100644
--- a/client/go/internal/curl/curl.go
+++ b/client/go/internal/curl/curl.go
@@ -7,7 +7,6 @@ import (
"os/exec"
"runtime"
- "github.com/kballard/go-shellquote"
"github.com/vespa-engine/vespa/client/go/internal/util"
)
@@ -77,7 +76,7 @@ func (c *Command) Args() []string {
func (c *Command) String() string {
args := []string{c.Path}
args = append(args, c.Args()...)
- return shellquote.Join(args...)
+ return util.ShellQuoteArgs(args...)
}
func (c *Command) Header(key, value string) {