Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/job: use semantic jobspec diff
The previous implementation of the custom jobspec diff used a naive string equality check, which can result in unnecessary plan diffs due to inconsequential changes, like comments or spaces being added/removed. By reusing the same logic as the `jobspec` field diff we compare the job struct as it would be submitted to the Nomad API.
- Loading branch information