Snap channel cannot be changed to 'stable'
Bug #1792673 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Layer |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
Calling the snap.refresh() function to change a snap's channel from e.g. 'stable' to 'beta' works fine.
But attempting to change channel from anything else back to 'stable' will fail.
The refresh() function calls _refresh_store(), which extends the command to be run via _snap_args(**kw), which is the heart of the issue:
https:/
> if channel != 'stable':
> yield '--channel=
Removing the conditional here would solve this particular issue.
Perhaps it should be comparing the currently selected channel to the requested channel?
Changed in layer-snap: | |
assignee: | nobody → Stuart Bishop (stub) |
importance: | Undecided → High |
status: | New → Fix Released |
To post a comment you must log in.