Pass ignore-running: true when refreshing ourself

Otherwise the refresh awareness blocks refresh when you are connected
via SSH.
This commit is contained in:
Michael Hudson-Doyle 2022-07-14 12:11:37 +12:00
parent cecca212f6
commit a9520b7100
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class RefreshController(SubiquityController):
async def start_update(self, context): async def start_update(self, context):
change = await self.app.snapd.post( change = await self.app.snapd.post(
'v2/snaps/{}'.format(self.snap_name), 'v2/snaps/{}'.format(self.snap_name),
{'action': 'refresh'}) {'action': 'refresh', 'ignore-running': True})
context.description = "change id: {}".format(change) context.description = "change id: {}".format(change)
return change return change