We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e96b6cf + 04330f5 commit af74eefCopy full SHA for af74eef
src/pybind/mgr/cephadm/services/osd.py
@@ -621,7 +621,8 @@ def __init__(self,
621
force: bool = False,
622
hostname: Optional[str] = None,
623
zap: bool = False,
624
- no_destroy: bool = False):
+ no_destroy: bool = False,
625
+ original_weight: Optional[float] = None):
626
# the ID of the OSD
627
self.osd_id = osd_id
628
@@ -656,7 +657,7 @@ def __init__(self,
656
657
# mgr obj to make mgr/mon calls
658
self.rm_util: RemoveUtil = remove_util
659
- self.original_weight: Optional[float] = None
660
+ self.original_weight: Optional[float] = original_weight
661
662
# Whether devices associated with the OSD should be zapped (DATA ERASED)
663
self.zap = zap
0 commit comments