Merge pull request #43 from juju/feature/get-controller-cloud
[osm/N2VC.git] / juju / model.py
index c2b23d1..c6c01f6 100644 (file)
@@ -955,7 +955,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):