From e43a1b1d637f1c7217de79a3971816a8367b5260 Mon Sep 17 00:00:00 2001 From: kbeyro <121854496+kbeyro@users.noreply.github.com> Date: Thu, 4 Jul 2024 13:37:32 +0200 Subject: [PATCH] Delete base when all the versions are set to DELETED --- .../geant/nmaas/portal/api/market/ApplicationController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/geant/nmaas/portal/api/market/ApplicationController.java b/src/main/java/net/geant/nmaas/portal/api/market/ApplicationController.java index 90f1bbfe7..c692031f4 100644 --- a/src/main/java/net/geant/nmaas/portal/api/market/ApplicationController.java +++ b/src/main/java/net/geant/nmaas/portal/api/market/ApplicationController.java @@ -326,7 +326,7 @@ public class ApplicationController extends AppBaseController { numberOfRunningInstances = +1; } if(numberOfRunningInstances > 0) { - throw new ProcessingException("Can not delete app version. You still have " + numberOfRunningInstances + " running instances of this version."); + throw new ProcessingException("Can not set state to Disabled. There is still " + numberOfRunningInstances + " running instances of this version."); } } ); -- GitLab