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

wrong logging messages in sub_tags

parent 62b7678e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -489,7 +489,7 @@ class NodeHandler(RpcHandler):
                        # helper is available on the current VM
                        if handler[0](sub, tag):
                            if fnmatchcase(tag, pattern):
                                debug('get_tags: processing tag `%s` with '
                                debug('sub_tags: processing tag `%s` with '
                                            'pattern `%s`' % (tag, pattern))
                                # get tags from helper
                                htags = handler[0](sub, tag)
@@ -497,7 +497,7 @@ class NodeHandler(RpcHandler):
                                # not to build the whole list. Maybe it's
                                # too difficult and not worth implementing
                                if tag in htags:
                                    debug('get_tags: found tag in helper '
                                    debug('sub_tags: found tag in helper '
                                      'result with value `%s`' % htags[tag])
                                    result[tag] = {}
                                    result[tag]['ttl'] = self.VM_TAG_MAP[tag][2]
@@ -506,7 +506,7 @@ class NodeHandler(RpcHandler):
                                                                htags[tag])
                                break
        except Exception as e:
            debug('(%s) : %s' % (repr(e), e))
            debug('sub_tags: `%s` --> `%s`' % (repr(e), e))
        return result
    
    @pure