Fix 'freezer client-delete' error
Currently, execute command 'freezer client-delete' to delete a client will be failed with error "Namespace object has no attribute 'client_uuid'", this patch will fix it. Change-Id: Ia2b56643c528327711e162e9e15b65ab1cf357bb Closes-Bug: #1677572
This commit is contained in:
parent
346999522c
commit
52751fd173
@ -113,8 +113,8 @@ class ClientDelete(command.Command):
|
||||
return parser
|
||||
|
||||
def take_action(self, parsed_args):
|
||||
self.app.client.clients.delete(parsed_args.client_uuid)
|
||||
logging.info('Client {0} deleted'.format(parsed_args.client_uuid))
|
||||
self.app.client.clients.delete(parsed_args.client_id)
|
||||
logging.info('Client {0} deleted'.format(parsed_args.client_id))
|
||||
|
||||
|
||||
class ClientRegister(command.Command):
|
||||
|
Loading…
Reference in New Issue
Block a user