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.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/go/cmd/deploy/urls.go b/client/go/cmd/deploy/urls.go
index 9c56656ec6b..54b779b6682 100644
--- a/client/go/cmd/deploy/urls.go
+++ b/client/go/cmd/deploy/urls.go
@@ -8,6 +8,7 @@ import (
"fmt"
"strings"
+ "github.com/vespa-engine/vespa/client/go/trace"
"github.com/vespa-engine/vespa/client/go/vespa"
)
@@ -32,12 +33,12 @@ func makeConfigsourceUrls(opts *Options) []string {
if len(colonParts) > 1 {
// XXX overwrites port number from above - is this sensible?
src = fmt.Sprintf("%s:%s:%d", colonParts[0], colonParts[1], opts.PortNumber)
- PutTrace("can use config server at", src)
+ trace.Trace("can use config server at", src)
results = append(results, src)
}
}
if len(results) == 0 {
- PutWarning("Could not get url to config server, make sure that VESPA_CONFIGSERVERS is set")
+ trace.Warning("Could not get url to config server, make sure that VESPA_CONFIGSERVERS is set")
results = append(results, fmt.Sprintf("http://localhost:%d", opts.PortNumber))
}
} else {