Skip to content

Commit 0c3409d

Browse files
committed
Use the charm url to query charmhub for a charm
... i.e. avoid using the application name as it can be customized
1 parent 64e8cb6 commit 0c3409d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

juju/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ async def deploy(
16221622
resources = await self._add_charmhub_resources(res.app_name,
16231623
identifier,
16241624
add_charm_res.charm_origin)
1625-
charm_info = await self.charmhub.info(res.app_name)
1625+
charm_info = await self.charmhub.info(url.name)
16261626
is_subordinate = False
16271627
try:
16281628
is_subordinate = charm_info.result.charm.subordinate

0 commit comments

Comments
 (0)