modify comments
Change-Id: I512337b054cf0708ba483c1651517cc5f0cfd3ce
This commit is contained in:
parent
c57a206eb8
commit
886b6fb7da
|
@ -74,7 +74,7 @@ class ClientsResource(resource.BaseResource):
|
|||
|
||||
@policy.enforce('clients:delete')
|
||||
def on_delete(self, req, resp, client_id):
|
||||
# DELETE /v1/clients/{client_id} Deletes the specified backup
|
||||
# DELETE /v1/clients/{client_id} Deletes the specified client
|
||||
user_id = req.get_header('X-User-ID')
|
||||
obj = self.db.get_client(user_id=user_id,
|
||||
client_id=client_id)
|
||||
|
|
|
@ -80,7 +80,7 @@ class ClientsResource(resource.BaseResource):
|
|||
@policy.enforce('clients:delete')
|
||||
def on_delete(self, req, resp, project_id, client_id):
|
||||
# DELETE /v2/{project_id}/clients/{client_id}
|
||||
# Deletes the specified backup
|
||||
# Deletes the specified client
|
||||
user_id = req.get_header('X-User-ID')
|
||||
self.db.delete_client(project_id=project_id,
|
||||
user_id=user_id,
|
||||
|
|
Loading…
Reference in New Issue