Change create_watch_data from POST to PUT

Change-Id: Ie460e76668fdbc3101da183e373d02eefda945f3
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2012-06-18 15:09:48 +10:00
parent a9f0c446bc
commit be76361dea

View File

@ -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',