Skip to content

Commit

Permalink
refactor: Remove unused argument (#4674)
Browse files Browse the repository at this point in the history
'reset_ds' is not used. Remove it
  • Loading branch information
TheRealFalcon committed Dec 8, 2023
1 parent 305ec6b commit da62f29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cloudinit/stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,11 @@ def __init__(self, ds_deps: Optional[List[str]] = None, reporter=None):
)
self.reporter = reporter

def _reset(self, reset_ds=False):
def _reset(self):
# Recreated on access
self._cfg = None
self._paths = None
self._distro = None
if reset_ds:
self.datasource = None
self.ds_restored = False

@property
def distro(self):
Expand Down

0 comments on commit da62f29

Please sign in to comment.