From: Tim Van Steenburgh Date: Thu, 5 Jan 2017 14:27:18 +0000 (-0500) Subject: Fix bug in Model.destroy_unit() X-Git-Tag: 0.2.0~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=512628c68366642d8268b63ae96c0eb5aadfa39c;p=osm%2FN2VC.git Fix bug in Model.destroy_unit() --- diff --git a/juju/model.py b/juju/model.py index ecd764b..dafbf51 100644 --- a/juju/model.py +++ b/juju/model.py @@ -952,7 +952,7 @@ class Model(object): 's' if len(unit_names) == 1 else '', ' '.join(unit_names)) - return await app_facade.Destroy(self.name) + return await app_facade.DestroyUnits(list(unit_names)) destroy_units = destroy_unit def get_backup(self, archive_id):