It doesn't make sense to use omitempty here. 0 is a meaningful value and it's different from the default. If someone sets Parallelism to 0, we want to show that Parallelism is 0, not hide the field. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
|---|---|---|
| .. | ||
| common.go | ||
| container.go | ||
| network.go | ||
| node.go | ||
| secret.go | ||
| service.go | ||
| swarm.go | ||
| task.go | ||