Fix omission of request_ids returned to user
The subclass of ManagerWithFind implements get() function, and all the get() functions returns an object with request_ids. Let's expose these request_ids to users directly. Change-Id: Icb3c480c637c39412ed085f4523fb93e36fea0a7 Closes-Bug: 1541694
This commit is contained in:
parent
0927de6c8e
commit
ba39fd3caa
@ -459,7 +459,9 @@ class ManagerWithFind(Manager):
|
||||
if detailed:
|
||||
found.append(obj)
|
||||
else:
|
||||
found.append(self.get(obj.id))
|
||||
detail = self.get(obj.id)
|
||||
found.append(detail)
|
||||
found.append_request_ids(detail.request_ids)
|
||||
except AttributeError:
|
||||
continue
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user