John A Meinel has proposed merging lp:~jameinel/maas/tag-name-api into lp:maas.
Commit message:
Change the 'resource_uri' from 'tags/tag_name' to 'tags/name' because it makes
the CLI's URI formatter happy.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~jameinel/maas/tag-name-api/+merge/126897
--
https://code.launchpad.net/~jameinel/maas/tag-name-api/+merge/126897
Your team Launchpad code reviewers is requested to review the proposed merge of
lp:~jameinel/maas/tag-name-api into lp:maas.
=== modified file 'src/maasserver/api.py'
--- src/maasserver/api.py 2012-09-27 09:24:41 +0000
+++ src/maasserver/api.py 2012-09-28 09:47:33 +0000
@@ -1325,7 +1325,7 @@
@classmethod
def resource_uri(cls, tag=None):
# See the comment in NodeHandler.resource_uri
- tag_name = 'tag_name'
+ tag_name = 'name'
if tag is not None:
tag_name = tag.name
return ('tag_handler', (tag_name, ))
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp