summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/go/vespa/application.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/go/vespa/application.go b/client/go/vespa/application.go
index 76bc7d41f18..7bace69ec52 100644
--- a/client/go/vespa/application.go
+++ b/client/go/vespa/application.go
@@ -64,10 +64,6 @@ func (ap *ApplicationPackage) IsJava() bool {
func isZip(filename string) bool { return filepath.Ext(filename) == ".zip" }
func zipDir(dir string, destination string) error {
- if filepath.IsAbs(dir) {
- message := "Path must be relative, but '" + dir + "'"
- return errors.New(message)
- }
if !util.PathExists(dir) {
message := "'" + dir + "' should be an application package zip or dir, but does not exist"
return errors.New(message)