Skip to content

Commit

Permalink
mgr/progress: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit aab43b2)
  • Loading branch information
liewegas committed Apr 16, 2019
1 parent 7b62ff1 commit 8fe76fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pybind/mgr/progress/module.py
Expand Up @@ -122,12 +122,12 @@ class PgRecoveryEvent(Event):
Always call update() immediately after construction.
"""

def __init__(self, message, refs, which_pgs, evactuate_osds):
def __init__(self, message, refs, which_pgs, evacuate_osds):
super(PgRecoveryEvent, self).__init__(message, refs)

self._pgs = which_pgs

self._evacuate_osds = evactuate_osds
self._evacuate_osds = evacuate_osds

self._original_pg_count = len(self._pgs)

Expand Down Expand Up @@ -358,7 +358,7 @@ def _osd_out(self, old_map, old_dump, new_map, osd_id):
"Rebalancing after osd.{0} marked out".format(osd_id),
refs=[("osd", osd_id)],
which_pgs=affected_pgs,
evactuate_osds=[osd_id]
evacuate_osds=[osd_id]
)
ev.pg_update(self.get("pg_dump"), self.log)
self._events[ev.id] = ev
Expand Down

0 comments on commit 8fe76fc

Please sign in to comment.