Return detailed info when get environment by name
Change-Id: Idaa15608388c861e1f08d4a5657af2a2a172fb3d Closes-Bug: #1494762
This commit is contained in:
parent
991b207f2d
commit
e2a701a9a6
|
@ -129,7 +129,7 @@ class ManagerWithFind(Manager):
|
|||
elif num > 1:
|
||||
raise exceptions.NoUniqueMatch
|
||||
else:
|
||||
return rl[0]
|
||||
return self.get(rl[0].id)
|
||||
|
||||
def findall(self, **kwargs):
|
||||
"""Find all items with attributes matching ``**kwargs``.
|
||||
|
|
Loading…
Reference in New Issue