This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where meta policy engine would not process job updates. (#16)
The meta policy watcher was doing an incorrect comparison when checking whether the modify index on a job specification returned from the API. Previously it was comparing against the maxfound which was being set to the Jobs().List() returned meta. This meant the job modify index would always be <= as it could never be greater than the value of the API returned meta index. In addition to fixing the above mentioned bug; this commit adds some contextual logging around the meta watcher to help identify any future issues and make operating in this mode easier. Closes #15
- Loading branch information
Showing
3 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters