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: fail deployment when it's aborted #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielskinstad
Copy link
Collaborator

I didn't know if we wanted to fail on everything except 204, so I added MENDER_ABORTED. If we can go to failure on everything except a 204, then we could just check for MENDER_FAIL
I also added a check to reboot just in case you abort right after the check in install

Copy link
Collaborator

@lluiscampos lluiscampos left a comment

Choose a reason for hiding this comment

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

See my comment below. Otherwise looks good

I didn't know if we wanted to fail on everything except 204, so I added MENDER_ABORTED.

I think this is a good idea.

core/src/mender-client.c Show resolved Hide resolved
core/src/mender-client.c Outdated Show resolved Hide resolved
Changelog: Title
Ticket: MEN-7693

Signed-off-by: Daniel Skinstad Drabitzius <[email protected]>
@mender-test-bot
Copy link

mender-test-bot commented Nov 7, 2024

Merging these commits will result in the following changelog entries:

Changelogs

mender-mcu (abort-deployment)

New changes in mender-mcu since main:

Bug Fixes
  • fail deployment when it's aborted
    (MEN-7693)

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.

4 participants