diff --git a/nova/api/openstack/compute/security_groups.py b/nova/api/openstack/compute/security_groups.py index b10308393f43..6ee5ee528a95 100644 --- a/nova/api/openstack/compute/security_groups.py +++ b/nova/api/openstack/compute/security_groups.py @@ -369,7 +369,9 @@ class SecurityGroupRulesController(SecurityGroupControllerBase, raise exc.HTTPBadRequest(explanation=exp.format_message()) -class ServerSecurityGroupController(SecurityGroupControllerBase): +class ServerSecurityGroupController( + SecurityGroupControllerBase, wsgi.Controller +): @wsgi.expected_errors(404) def index(self, req, server_id):