Commit cb24b8ab authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix bug #3934

parent f47b2e5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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])