We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a271c commit 0424650Copy full SHA for 0424650
1 file changed
juju/application.py
@@ -703,11 +703,11 @@ async def refresh(
703
if charm_url == self.data['charm-url']:
704
raise JujuError('already running charm "%s"' % charm_url)
705
706
- origin = client.CharmOrigin(source="charm-store", risk=channel)
+ dest_origin = client.CharmOrigin(source="charm-store", risk=channel)
707
# Update charm
708
await charms_facade.AddCharm(url=charm_url,
709
force=force,
710
- charm_origin=origin)
+ charm_origin=dest_origin)
711
if not charmstore_entity:
712
charmstore_entity = await charmstore.entity(charm_url, channel=channel)
713
charm_resources = charmstore_entity['Meta']['resources']
0 commit comments