Only modify lib-project for seq of return (#6261)

Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
danfengliu 2018-11-12 16:59:55 +08:00 committed by Yan
parent ae007c2a49
commit 205a658afb

View File

@ -15,7 +15,7 @@ class Project(base.Base):
swagger_client.ProjectReq(name, metadata))
base._assert_status_code(201, status_code)
project_id = base._get_id_from_header(header)
return name, project_id
return project_id, name
def get_projects(self, params, **kwargs):
client = self._get_client(**kwargs)