From 8508603bbe4bd3aaa19c5451a5207d79772a42dc Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 24 Apr 2018 15:39:19 +0100 Subject: [PATCH] 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 --- src/pybind/mgr/balancer/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = [ -- 2.39.5