Skip to content

Commit

Permalink
mgr/balancer: python3 compatibility issue
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/42370
Signed-off-by: Mykola Golub <mgolub@suse.com>
  • Loading branch information
trociny committed Oct 18, 2019
1 parent d565888 commit 97720ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/balancer/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ def do_crush_compat(self, plan):

# Make sure roots don't overlap their devices. If so, we
# can't proceed.
roots = pe.target_by_root.keys()
roots = list(pe.target_by_root.keys())
self.log.debug('roots %s', roots)
visited = {}
overlap = {}
Expand Down

0 comments on commit 97720ed

Please sign in to comment.