diff options
author | Kristian Aune <kraune@verizonmedia.com> | 2021-10-20 15:15:52 +0200 |
---|---|---|
committer | Kristian Aune <kraune@verizonmedia.com> | 2021-10-20 15:15:52 +0200 |
commit | 5f2c90c815449db1fecdc8bdd7d4609a348a9f63 (patch) | |
tree | a69214ceec453c9a9b336ed9fa04bd842cf152a4 /client | |
parent | d50cf686dca18ff26ed5a63fb105ccc7f81408c0 (diff) |
Improve error msg for cloned app not found
Diffstat (limited to 'client')
-rw-r--r-- | client/go/README.md | 6 | ||||
-rw-r--r-- | client/go/cmd/clone.go | 2 |
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)) } |