Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure does not properly support "classic" confinement. #129

Open
dstathis opened this issue Aug 9, 2024 · 1 comment
Open

ensure does not properly support "classic" confinement. #129

dstathis opened this issue Aug 9, 2024 · 1 comment

Comments

@dstathis
Copy link

dstathis commented Aug 9, 2024

When a charm is already installed, and you refresh to a classic revision using ensure(state=snap_lib.SnapState.Present, revision=N, classic=True), the lib does not add --classic to the command and so it fails.

@benhoyt
Copy link
Collaborator

benhoyt commented Aug 12, 2024

Thanks for the report. Yes, the code definitely looks a bit buggy on that front. Do you have time to put up a fix PR? If not, we can take a look later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants