Skip to content
Snippets Groups Projects

add translation, fix string

Merged Karol Beyrowski requested to merge 206-add-new-endpoints-in-appcontroller into develop
5 files
+ 10
5
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -378,7 +378,7 @@ public class ApplicationController extends AppBaseController {
.filter(s -> !List.of(AppInstanceState.DONE, AppInstanceState.FAILURE, AppInstanceState.REMOVED).contains(s.getState()))
.count();
if (numberOfRunningInstances > 0) {
throw new ProcessingException("Can not set state to Disabled. There is still " + numberOfRunningInstances + " running instances of this version.");
throw new ProcessingException("Can not set state to DELETED. There is still " + numberOfRunningInstances + " running instances of this version.");
}
}
applicationService.changeApplicationState(app, stateChangeRequest.getState());
Loading