mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Only modify lib-project for seq of return (#6261)
Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
ae007c2a49
commit
205a658afb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user