mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
mgr/dashboard/cleanup: Remove unnecessary parentheses
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
This commit is contained in:
parent
bd2196b6ca
commit
add29e27f4
@ -143,7 +143,8 @@ def options_schema_list():
|
||||
|
||||
def handle_option_command(cmd):
|
||||
if cmd['prefix'] not in _OPTIONS_COMMAND_MAP:
|
||||
return (-errno.ENOSYS, '', "Command not found '{}'".format(cmd['prefix']))
|
||||
return -errno.ENOSYS, '', "Command not found '{}'".format(cmd['prefix'])
|
||||
|
||||
opt = _OPTIONS_COMMAND_MAP[cmd['prefix']]
|
||||
|
||||
if cmd['prefix'].startswith('dashboard reset'):
|
||||
|
Loading…
Reference in New Issue
Block a user