Change create_watch_data from POST to PUT
Change-Id: Ie460e76668fdbc3101da183e373d02eefda945f3 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
a9f0c446bc
commit
be76361dea
@ -55,7 +55,7 @@ class API(wsgi.Router):
|
||||
mapper.connect('/stats/:watch_name/data/',
|
||||
controller=metadata_controller,
|
||||
action='create_watch_data',
|
||||
conditions=dict(method=['POST']))
|
||||
conditions=dict(method=['PUT']))
|
||||
# mapper.connect('/stats/:watch_name/data/',
|
||||
# controller=metadata_controller,
|
||||
# action='list_watch_data',
|
||||
|
Loading…
Reference in New Issue
Block a user