summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorKristian Aune <kraune@verizonmedia.com>2021-10-20 15:15:52 +0200
committerKristian Aune <kraune@verizonmedia.com>2021-10-20 15:15:52 +0200
commit5f2c90c815449db1fecdc8bdd7d4609a348a9f63 (patch)
treea69214ceec453c9a9b336ed9fa04bd842cf152a4 /client
parentd50cf686dca18ff26ed5a63fb105ccc7f81408c0 (diff)
Improve error msg for cloned app not found
Diffstat (limited to 'client')
-rw-r--r--client/go/README.md6
-rw-r--r--client/go/cmd/clone.go2
2 files changed, 7 insertions, 1 deletions
diff --git a/client/go/README.md b/client/go/README.md
index 7b5b222503c..2120d5b05ba 100644
--- a/client/go/README.md
+++ b/client/go/README.md
@@ -4,3 +4,9 @@ Use it on Vespa instances running locally, remotely or in the cloud.
Prefer web service API's to this in production.
Vespa documentation: https://docs.vespa.ai
+
+Developer notes:
+
+ $ brew install go
+ $ make test
+
diff --git a/client/go/cmd/clone.go b/client/go/cmd/clone.go
index e7d77c83ebb..c471e2488f6 100644
--- a/client/go/cmd/clone.go
+++ b/client/go/cmd/clone.go
@@ -96,7 +96,7 @@ func cloneApplication(source string, name string) {
}
}
if !found {
- fatalErr(nil, "Could not find source application '", color.Cyan(source), "'")
+ fatalErr(nil, "Could not find source application '", color.Cyan(source), "'. Try with -f to ignore cache")
} else {
log.Print("Created ", color.Cyan(name))
}