From db3b3791729fbe67e90b75c8e1eb6f44237ebe62 Mon Sep 17 00:00:00 2001 From: Caner Derici Date: Mon, 23 Oct 2023 15:22:14 -0600 Subject: [PATCH] Make keyword arguments explicit in call --- juju/model.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/juju/model.py b/juju/model.py index eadff3f2..df58f991 100644 --- a/juju/model.py +++ b/juju/model.py @@ -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.