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