db865e05d8
Before, the submitted jobspec for sidecar_task would pass through 2 key validation steps - once for the subset specific to connect sidecar task definitions, and once again for the set of normal task definition where the task would actually get unmarshalled. The valid keys for the normal task definition did not include "name", which is supposed to be configurable for the sidecar task. To fix this, just eliminate the double validation step, and instead pass-in the correct set of keys to validate against to the one generic task parser. Fixes #7680 |
||
---|---|---|
.. | ||
test-fixtures | ||
parse.go | ||
parse_group.go | ||
parse_job.go | ||
parse_network.go | ||
parse_service.go | ||
parse_task.go | ||
parse_test.go | ||
utils.go | ||
utils_test.go |