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:
parent
bbf4738e8e
commit
0bd8cae0f5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue