Skip to content

Commit

Permalink
Make keyword arguments explicit in call
Browse files Browse the repository at this point in the history
  • Loading branch information
cderici committed Oct 23, 2023
1 parent bcc9bac commit db3b379
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2157,7 +2157,12 @@ async def destroy_unit(self, unit_id, destroy_storage=False, dry_run=False, forc
"""Destroy units by name.
"""
await self.destroy_units(unit_id, destroy_storage, dry_run, force, max_wait)
return await self.destroy_units(unit_id,
destroy_storage=destroy_storage,
dry_run=dry_run,
force=force,
max_wait=max_wait
)

async def destroy_units(self, *unit_names, destroy_storage=False, dry_run=False, force=False, max_wait=None):
"""Destroy several units at once.
Expand Down

0 comments on commit db3b379

Please sign in to comment.