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
(cherry picked from commit 35b6d607e1
)
This commit is contained in:
parent
05f6d2a45f
commit
c7b7975d87
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue