]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/balancer: fix OPTIONS definition
authorJohn Spray <john.spray@redhat.com>
Tue, 24 Apr 2018 14:39:19 +0000 (15:39 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 24 Apr 2018 14:39:19 +0000 (15:39 +0100)
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 <john.spray@redhat.com>
src/pybind/mgr/balancer/module.py

index 91d6722968aebe818b7fd2cd5090e715fe80e968..fd54aae05f5aef9c337272fb6d1f4f6d55023dce 100644 (file)
@@ -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 = [