Add the missed decorator to pools

The on_put function miss the decorator. This patch add it.

Change-Id: I1e91fc7c86b2d5d0e511d9c46276c78ba961d25a
This commit is contained in:
ZhaoBo 2017-02-09 10:09:12 +08:00
parent bbf4738e8e
commit 0bd8cae0f5
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class Resource(object):
response.body = transport_utils.to_json(data)
@decorators.TransportLog("Pools item")
@acl.enforce("pools:create")
def on_put(self, request, response, project_id, pool):
"""Registers a new pool. Expects the following input: