modify comments

Change-Id: I512337b054cf0708ba483c1651517cc5f0cfd3ce
This commit is contained in:
lu-meihong 2019-10-18 00:08:24 -07:00
parent c57a206eb8
commit 886b6fb7da
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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,