From: John Spray Date: Tue, 24 Apr 2018 14:39:19 +0000 (+0100) Subject: mgr/balancer: fix OPTIONS definition X-Git-Tag: v13.1.0~122^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8508603bbe4bd3aaa19c5451a5207d79772a42dc;p=ceph-ci.git mgr/balancer: fix OPTIONS definition I typo'd a couple of these, which was causing test failures when the access to the correct names got an exception. Signed-off-by: John Spray --- diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 91d6722968a..fd54aae05f5 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -204,7 +204,7 @@ class Module(MgrModule): OPTIONS = [ {'name': 'active'}, {'name': 'begin_time'}, - {'name': 'crush_compat_max_iteratons'}, + {'name': 'crush_compat_max_iterations'}, {'name': 'crush_compat_step'}, {'name': 'end_time'}, {'name': 'max_misplaced'}, @@ -212,7 +212,7 @@ class Module(MgrModule): {'name': 'mode'}, {'name': 'sleep_interval'}, {'name': 'upmap_max_iterations'}, - {'name': 'upmap_max_deviations'}, + {'name': 'upmap_max_deviation'}, ] COMMANDS = [