Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@x4204
Copy link
Contributor

@x4204 x4204 commented Jul 14, 2024

Fixes #610

Status from docker executor is now correctly reported to Dagu on exit:
image

Copy link
Collaborator

@yottahmd yottahmd left a comment

Choose a reason for hiding this comment

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

✨✨LGTM✨✨🚀, thank you very much!

err := cli.ContainerRemove(ctx, resp.ID, types.ContainerRemoveOptions{})
util.LogErr("docker executor: remove container", err)
}
}()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Great refactoring of the clean-up function. Thank you!

@yottahmd yottahmd merged commit cd2697f into dagu-org:main Jul 14, 2024
@x4204 x4204 deleted the i610-docker-exit-code branch July 14, 2024 13:26
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.

Docker executor does not propagate exit code

2 participants