From 35b6d607e130a8c2b5db3553e52cf71d93bded2c Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Tue, 12 May 2015 08:50:50 -0400 Subject: [PATCH] Remove unnecessary RestController usage TasksControllers is just an intermediate path segment, and doesn't need to be a RestController. Additionally, this resolves a failing test associated with a RestController bug fix in pecan [1]. [1] https://review.openstack.org/#/c/181979/ Closes-Bug: #1334690 Change-Id: I90b8f499f23762cbc6333be764439104189238b8 --- designate/api/v2/controllers/zones/tasks/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/designate/api/v2/controllers/zones/tasks/__init__.py b/designate/api/v2/controllers/zones/tasks/__init__.py index 7153d3774..58baa2663 100644 --- a/designate/api/v2/controllers/zones/tasks/__init__.py +++ b/designate/api/v2/controllers/zones/tasks/__init__.py @@ -15,7 +15,6 @@ # under the License. from oslo_log import log as logging -from designate.api.v2.controllers import rest from designate.api.v2.controllers.zones.tasks.transfer_requests \ import TransferRequestsController as TRC from designate.api.v2.controllers.zones.tasks.transfer_accepts \ @@ -26,7 +25,7 @@ from designate.api.v2.controllers.zones.tasks.xfr import XfrController LOG = logging.getLogger(__name__) -class TasksController(rest.RestController): +class TasksController(object): transfer_accepts = TRA() transfer_requests = TRC()