mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
run: clean up machine_type thing
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
e8afa454d8
commit
9f46f47b6b
@ -103,9 +103,8 @@ def main():
|
||||
|
||||
machine_type = ctx.machine_type
|
||||
if machine_type is None:
|
||||
machine_type = ctx.config.get('machine-type')
|
||||
if machine_type is None:
|
||||
machine_type = ctx.config.get('machine_type', 'plana')
|
||||
fallback_default = ctx.config.get('machine_type', 'plana')
|
||||
machine_type = ctx.config.get('machine-type', fallback_default)
|
||||
|
||||
if ctx.block:
|
||||
assert ctx.lock, \
|
||||
|
Loading…
Reference in New Issue
Block a user