Loading ccnode/handlers.py +2 −2 Original line number Diff line number Diff line Loading @@ -492,7 +492,7 @@ class NodeHandler(RpcHandler): debug('sub_tags: processing tag `%s` with ' 'pattern `%s`' % (tag, pattern)) # get tags from helper htags = handler[0](sub, tag) htags = handler[1](sub, tag) # FIXME intead of extracting one tag, try # not to build the whole list. Maybe it's # too difficult and not worth implementing Loading @@ -500,7 +500,7 @@ class NodeHandler(RpcHandler): debug('sub_tags: found tag in helper ' 'result with value `%s`' % htags[tag]) result[tag] = {} result[tag]['ttl'] = self.VM_TAG_MAP[tag][2] result[tag]['ttl'] = handler[2] if resolve: result[tag]['value'] = str( htags[tag]) Loading Loading
ccnode/handlers.py +2 −2 Original line number Diff line number Diff line Loading @@ -492,7 +492,7 @@ class NodeHandler(RpcHandler): debug('sub_tags: processing tag `%s` with ' 'pattern `%s`' % (tag, pattern)) # get tags from helper htags = handler[0](sub, tag) htags = handler[1](sub, tag) # FIXME intead of extracting one tag, try # not to build the whole list. Maybe it's # too difficult and not worth implementing Loading @@ -500,7 +500,7 @@ class NodeHandler(RpcHandler): debug('sub_tags: found tag in helper ' 'result with value `%s`' % htags[tag]) result[tag] = {} result[tag]['ttl'] = self.VM_TAG_MAP[tag][2] result[tag]['ttl'] = handler[2] if resolve: result[tag]['value'] = str( htags[tag]) Loading