If deploying a single app, return the App instead of a list
[osm/N2VC.git] / juju / model.py
index 8a49495..26611fc 100644 (file)
@@ -818,7 +818,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.