> nodes = self.filter(token=token) > + if ids is not None: > + nodes = self.filter(system_id__in=ids)
If ids are given it's possible to get nodes not associated with the token. -- https://code.launchpad.net/~julian-edwards/maas/list_allocated_filter/+merge/98966 Your team Launchpad code reviewers is requested to review the proposed merge of lp:~julian-edwards/maas/list_allocated_filter into lp:maas. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

