Commit b2119f6a authored by Antoine Millet's avatar Antoine Millet
Browse files

Undefine now use globbing instead of requesting all tags

parent 810066d3
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -140,10 +140,7 @@ class CliHandler(RegisteredCCHandler):

        self.check('undefine', query)

        #FIXME: When tag globbing will be implemented, the list of tags to
        #       show will be: r, p, h, disk*
        #       I ask "all tags" pending implementation.
        objects = self.server.list(query, show=('*',))
        objects = self.server.list(query, show=('r', 'p', 'h', 'disk*',))
        errs = Reporter()
        for obj in objects:
            if obj['r'] != 'vm':