diff options
author | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-04-01 09:03:52 +0200 |
---|---|---|
committer | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-04-01 09:03:52 +0200 |
commit | 2b4d6b26348c6de5cfc6f246e84783a82bb5cc27 (patch) | |
tree | 7f30c42ce62612927f0c0c2122053d9edc764f3a /client | |
parent | 305a641a418f0b7fcd869f5d21f5c740eaf63075 (diff) |
No need to require relative path to application package
Diffstat (limited to 'client')
-rw-r--r-- | client/go/vespa/application.go | 4 |
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) |