open-nomad/api
Alex Dadgar 698387e103 Don't merge empty update from job into task groups
This PR fixes an issue in which we would merge an update stanza from the
job into the task groups even if it was empty. This broke round
tripping a job (reading from the api and resubmitting as JSON)

Fixes https://github.com/hashicorp/nomad/issues/3132
2017-08-30 11:35:19 -07:00
..
contexts migrate all context 2017-08-28 05:29:38 +00:00
agent.go Remove overly clever code 2017-03-27 20:54:43 -07:00
agent_test.go Parallel 2017-07-21 16:33:04 -07:00
allocations.go Refactor GetNodeClient weirdness 2017-08-28 14:41:21 -07:00
allocations_test.go Parallel 2017-07-21 16:33:04 -07:00
api.go Address feedback 2017-08-29 16:09:53 -07:00
api_test.go Fix TLSServerName for Node API Client 2017-08-29 11:11:19 -07:00
compose_test.go Parallel 2017-07-21 16:33:04 -07:00
constraint.go Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
constraint_test.go Parallel 2017-07-21 16:33:04 -07:00
deployments.go alloc-status 2017-07-07 12:12:48 -07:00
evaluations.go initial impl 2017-07-07 12:03:11 -07:00
evaluations_test.go Parallel 2017-07-21 16:33:04 -07:00
fs.go Fix logs/fs commands 2017-08-28 22:21:54 -07:00
fs_test.go Parallel 2017-07-21 16:33:04 -07:00
jobs.go Don't merge empty update from job into task groups 2017-08-30 11:35:19 -07:00
jobs_test.go Allow template to set Vault grace 2017-08-01 14:14:08 -07:00
jobs_testing.go Fix canonicalization of services 2017-03-01 15:30:01 -08:00
nodes.go Refactor GetNodeClient weirdness 2017-08-28 14:41:21 -07:00
nodes_test.go Parallel 2017-07-21 16:33:04 -07:00
operator.go Fix API panic and bad missing port check 2017-02-20 11:12:34 -08:00
operator_test.go Parallel 2017-07-21 16:33:04 -07:00
raw.go Making the client use tls if the node from which migration has to be made has enabled tls 2016-10-31 10:20:04 -07:00
regions.go fix a copy/paste error on api.Regions() comment 2017-01-17 22:48:01 -08:00
regions_test.go Parallel 2017-07-21 16:33:04 -07:00
resources.go Fix api.NetworkResource fields 2017-04-07 18:36:43 -07:00
search.go Search respects QueryOptions and returns QueryMeta 2017-08-27 22:17:51 -07:00
search_test.go Search respects QueryOptions and returns QueryMeta 2017-08-27 22:17:51 -07:00
status.go display server leaders per region 2016-03-17 16:04:09 -07:00
status_test.go Parallel 2017-07-21 16:33:04 -07:00
system.go Add missing ReconcileSummaries API method 2017-08-24 11:55:10 +02:00
system_test.go Parallel 2017-07-21 16:33:04 -07:00
tasks.go Don't merge empty update from job into task groups 2017-08-30 11:35:19 -07:00
tasks_test.go Don't merge empty update from job into task groups 2017-08-30 11:35:19 -07:00
util_test.go Making the job spec return api.Job 2017-02-16 13:52:39 -08:00