summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/deploy/urls.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/cmd/deploy/urls.go')
-rw-r--r--client/go/cmd/deploy/urls.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/go/cmd/deploy/urls.go b/client/go/cmd/deploy/urls.go
index 54b779b6682..93235121122 100644
--- a/client/go/cmd/deploy/urls.go
+++ b/client/go/cmd/deploy/urls.go
@@ -9,6 +9,7 @@ import (
"strings"
"github.com/vespa-engine/vespa/client/go/trace"
+ "github.com/vespa-engine/vespa/client/go/util"
"github.com/vespa-engine/vespa/client/go/vespa"
)
@@ -27,7 +28,7 @@ func makeConfigsourceUrls(opts *Options) []string {
var results = make([]string, 0, 3)
if opts.ServerHost == "" {
home := vespa.FindHome()
- configsources, _ := getOutputFromCmd(home+"/bin/vespa-print-default", "configservers_http")
+ configsources, _ := util.GetOutputFromProgram(home+"/bin/vespa-print-default", "configservers_http")
for _, src := range strings.Split(configsources, "\n") {
colonParts := strings.Split(src, ":")
if len(colonParts) > 1 {