Skip to content

Commit 9d34a32

Browse files
committed
Small fix for the CharmStore path in application.refresh
1 parent 71d55d6 commit 9d34a32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

juju/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,11 @@ async def refresh(
707707
if charm_url == self.data['charm-url']:
708708
raise JujuError('already running charm "%s"' % charm_url)
709709

710-
origin = client.CharmOrigin(source="charm-store", risk=channel)
710+
dest_origin = client.CharmOrigin(source="charm-store", risk=channel)
711711
# Update charm
712712
await charms_facade.AddCharm(url=charm_url,
713713
force=force,
714-
charm_origin=origin)
714+
charm_origin=dest_origin)
715715
if not charmstore_entity:
716716
charmstore_entity = await charmstore.entity(charm_url, channel=channel)
717717
charm_resources = charmstore_entity['Meta']['resources']

0 commit comments

Comments
 (0)