From a865d03e370cfbfeb371a073b6bf6fc2c6179961 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Thu, 18 Feb 2016 00:27:56 +0200 Subject: [PATCH] Add tagpool to channel name. --- go/api/go_api/api_types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go/api/go_api/api_types.py b/go/api/go_api/api_types.py index 07f348ea2..0d034965e 100644 --- a/go/api/go_api/api_types.py +++ b/go/api/go_api/api_types.py @@ -127,7 +127,8 @@ def format_channel(cls, channel): uuid = channel.key conn = channel.get_connector() return { - 'uuid': uuid, 'tag': (pool, tagname), 'name': tagname, + 'uuid': uuid, 'tag': (pool, tagname), + 'name': u'%s (%s)' % (tagname, pool), 'description': u"%s: %s" % ( pool.replace('_', ' ').title(), tagname), 'endpoints': [