mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
doc: add a reminder about field order for diff comparisons
After spending hours re-learning this lesson more than once, update the jobspec contribution guide with a reminder about how to configure FieldDiff comparisons.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* Implement other methods and tests from `api/` package
|
||||
* [ ] Add conversion between `api/` and `nomad/structs` in `command/agent/job_endpoint.go`
|
||||
* [ ] Add check for job diff in `nomad/structs/diff.go`
|
||||
* Note that fields must be listed in alphabetical order in `FieldDiff` slices in `nomad/structs/diff_test.go`
|
||||
* [ ] Test conversion
|
||||
|
||||
## Docs
|
||||
|
||||
Reference in New Issue
Block a user