charm_urls = await asyncio.gather(*[
self.model.add_local_charm_dir(*params)
for params in args
- ], loop=self.loop)
+ ], loop=self.model.loop)
# Update the 'charm:' entry for each app with the new 'local:' url.
for app_name, charm_url in zip(apps, charm_urls):
bundle['services'][app_name]['charm'] = charm_url