diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-02-20 22:24:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 22:24:39 +0100 |
commit | c661b405737a71ba9b73903cf587a5b3c918cfcb (patch) | |
tree | dfe1e7ab465fce386a05230cc92f360bb7d04cce /configserver | |
parent | 3f034b18523eb04bbaf687ddc37c4afe2a4d63f9 (diff) |
Revert "Update dependency org.apache.commons:commons-compress to v1.26.0"
Diffstat (limited to 'configserver')
2 files changed, 2 insertions, 2 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java index a718ca951f5..32f4d2b653c 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java @@ -1113,7 +1113,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye private File decompressApplication(CompressedApplicationInputStream in, File tempDir) { try { return in.decompress(tempDir); - } catch (IOException | UncheckedIOException e) { + } catch (IOException e) { throw new IllegalArgumentException("Unable to decompress application stream", e); } } diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/ApplicationApiHandlerTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/ApplicationApiHandlerTest.java index 07b7fa0f244..d4aa0676c4f 100644 --- a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/ApplicationApiHandlerTest.java +++ b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/ApplicationApiHandlerTest.java @@ -180,7 +180,7 @@ class ApplicationApiHandlerTest { """ { "error-code": "BAD_REQUEST", - "message": "Unable to decompress application stream: Cannot find zip signature within the file" + "message": "Error preprocessing application package for test.default, session 2: services.xml does not exist in application package" } """); } |