mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #19578 from cernceph/dvanders_brm
mgr/balancer: fix KeyError in balancer rm Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
dc236764ce
@ -303,7 +303,7 @@ class Module(MgrModule):
|
||||
self.optimize(plan)
|
||||
return (0, '', '')
|
||||
elif command['prefix'] == 'balancer rm':
|
||||
self.plan_rm(command['name'])
|
||||
self.plan_rm(command['plan'])
|
||||
return (0, '', '')
|
||||
elif command['prefix'] == 'balancer reset':
|
||||
self.plans = {}
|
||||
|
Loading…
Reference in New Issue
Block a user