X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fmodel.py;h=52721a714f3fa363fb8d8e97e5cc0e84db9a90db;hb=55ae2c120ce031f57ac210f3d7bd203db739f1e9;hp=8a49495e877aa6f873f9d22f38db36f6adb5544d;hpb=36d3cf5de7a48d604b12547423927cece7ab4bd1;p=osm%2FN2VC.git diff --git a/juju/model.py b/juju/model.py index 8a49495..52721a7 100644 --- a/juju/model.py +++ b/juju/model.py @@ -759,9 +759,6 @@ class Model(object): - series is required; how do we pick a default? """ - if constraints: - constraints = client.Value(**constraints) - if to: placement = [ client.Placement(**p) for p in to @@ -818,7 +815,7 @@ class Model(object): ) await app_facade.Deploy([app]) - return [await self._wait_for_new('application', service_name)] + return await self._wait_for_new('application', service_name) def destroy(self): """Terminate all machines and resources for this model.