Override find function in project
This change overrides the base find functionality within project in order to encode tags to a base string. Change-Id: I4599b8a4dafcb9d4178c973eb48a8ad3a7d292f5
This commit is contained in:
parent
1e8c9302fc
commit
53972d68f6
|
@ -205,6 +205,11 @@ class ProjectManager(base.CrudManager):
|
|||
p.tags = self._encode_tags(getattr(p, 'tags', []))
|
||||
return p
|
||||
|
||||
def find(self, **kwargs):
|
||||
p = super(ProjectManager, self).find(**kwargs)
|
||||
p.tags = self._encode_tags(getattr(p, 'tags', []))
|
||||
return p
|
||||
|
||||
def update(self, project, name=None, domain=None, description=None,
|
||||
enabled=None, **kwargs):
|
||||
"""Update a project.
|
||||
|
|
Loading…
Reference in New Issue