From ad7031c8379125b9adbf13b15015c7fc8eee3285 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 30 Jun 2021 17:53:21 +0200 Subject: [PATCH] slapos_cloud: do not forget to return the Base_redirect result --- .../slapos_cloud/SoftwareInstallation_requestDestruction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstallation_requestDestruction.py b/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstallation_requestDestruction.py index 58f20f1bc..f2d828901 100644 --- a/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstallation_requestDestruction.py +++ b/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstallation_requestDestruction.py @@ -1,2 +1,2 @@ context.getAggregateValue(portal_type='Computer').requestSoftwareRelease(software_release_url=context.getUrlString(), state='destroyed') -context.Base_redirect('view', keep_items={'portal_status_message': 'Requested Destruction'}) +return context.Base_redirect('view', keep_items={'portal_status_message': 'Requested Destruction'}) -- 2.30.9