Skip to content

Commit db3b379

Browse files
committed
Make keyword arguments explicit in call
1 parent bcc9bac commit db3b379

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

juju/model.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,12 @@ async def destroy_unit(self, unit_id, destroy_storage=False, dry_run=False, forc
21572157
"""Destroy units by name.
21582158
21592159
"""
2160-
await self.destroy_units(unit_id, destroy_storage, dry_run, force, max_wait)
2160+
return await self.destroy_units(unit_id,
2161+
destroy_storage=destroy_storage,
2162+
dry_run=dry_run,
2163+
force=force,
2164+
max_wait=max_wait
2165+
)
21612166

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

0 commit comments

Comments
 (0)