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

fix: Task status can be Do and should not raise an error. #140

Merged

Conversation

Gu1nness
Copy link
Contributor

Description

This PR fixes the issue #139 .
The task status can be Do and should not be considered an error (see here in the subsection 'Task Fields').

This status means that the task is ready to start but hasn't started yet.

How is it tested?

I have added a case in the unit testing of the SnapClient.

The task status can be `Do` and should not be considered an error.
This status means that the task is ready to start but hasn't started
yet.
@Gu1nness Gu1nness changed the title fix: Task status can be Do. fix: Task status can be Do and should not raise an error. Dec 12, 2024
Copy link
Collaborator

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks. For reference, here's the snapd definitions. I'd like @james-garner-canonical's review too just to keep him in the loop.

@james-garner-canonical
Copy link
Contributor

Looks great, thank you @Gu1nness ! I believe we'll need to bump the LIBPATCH number so that this change will get released on charmhub when we merge this PR

@Gu1nness
Copy link
Contributor Author

Looks great, thank you @Gu1nness ! I believe we'll need to bump the LIBPATCH number so that this change will get released on charmhub when we merge this PR

My bad!
I completely forgot to bump the libpatch indeed, this is now done!

Copy link
Contributor

@james-garner-canonical james-garner-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this!

@james-garner-canonical james-garner-canonical merged commit d58cced into canonical:main Dec 15, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants