Skip to content
New issue

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

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

Already on GitHub? # to your account

Populate Job Status #663

Merged
merged 4 commits into from
Jan 12, 2016
Merged

Populate Job Status #663

merged 4 commits into from
Jan 12, 2016

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Jan 9, 2016

This PR populates job status.

func (s *StateStore) setJobStatus(watcher watch.Items, txn *memdb.Txn,
job *structs.Job, evalDelete bool, forceStatus string) error {

watcher.Add(watch.Item{Table: "jobs"})
Copy link
Member

Choose a reason for hiding this comment

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

Do not trigger the watchers if a noop

dadgar added a commit that referenced this pull request Jan 12, 2016
@dadgar dadgar merged commit 1ea6137 into master Jan 12, 2016
@dadgar dadgar deleted the f-job-status branch January 12, 2016 17:58
@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 Apr 30, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants