mirror of
https://github.com/ceph/ceph
synced 2025-01-28 22:14:02 +00:00
Check for machine args based on local, not ctx.machines
Signed-off-by: Dan Mick <dan.mick@inktank.com>
This commit is contained in:
parent
7773a93e3e
commit
03597ca6b9
@ -239,7 +239,7 @@ Lock, unlock, or query lock status of machines.
|
||||
if ctx.f:
|
||||
assert ctx.lock or ctx.unlock, \
|
||||
'-f is only supported by --lock and --unlock'
|
||||
if ctx.machines:
|
||||
if machines:
|
||||
assert ctx.lock or ctx.unlock or ctx.list or ctx.list_targets \
|
||||
or ctx.update, \
|
||||
'machines cannot be specified with that operation'
|
||||
|
Loading…
Reference in New Issue
Block a user