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

Fixes bug that prevented group shutdown_delay updates #7618

Merged
merged 5 commits into from
Apr 6, 2020

Conversation

drewbailey
Copy link
Contributor

Group shutdown delay updates were not properly handled in Update hook.
This commit also ensures that plan output is displayed.

This issue originally was to fix #7265 but ran into issue testing where updates to shutdown_delay were not persisted either.

fixes #7265

Copy link
Contributor

@notnoop notnoop left a comment

Choose a reason for hiding this comment

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

Question about persistence compatibility and nil handling that may require digging a bit more.

command/agent/job_endpoint.go Outdated Show resolved Hide resolved
nomad/structs/structs.go Outdated Show resolved Hide resolved
Group shutdown delay updates were not properly handled in Update hook.
This commit also ensures that plan output is displayed.
@drewbailey drewbailey force-pushed the b-shutdown-delay-updates branch from 39bfe4b to b81a001 Compare April 6, 2020 15:29
@drewbailey drewbailey requested a review from notnoop April 6, 2020 15:33
@drewbailey drewbailey force-pushed the b-shutdown-delay-updates branch from c53ef9a to a142302 Compare April 6, 2020 15:58
@drewbailey drewbailey requested a review from schmichael April 6, 2020 16:30
@drewbailey drewbailey merged commit 004d200 into master Apr 6, 2020
@drewbailey drewbailey deleted the b-shutdown-delay-updates branch April 6, 2020 17:05
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes to Task Group shutdown_delay not reflected in job plan output
3 participants