1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #28521 from aaronlehmann/omitempty

api: Remove omitempty tag on Parallelism
This commit is contained in:
Vincent Demeester 2016-11-17 09:05:29 +01:00 committed by GitHub
commit 465c0484dc

View file

@ -74,7 +74,7 @@ const (
type UpdateConfig struct {
// Maximum number of tasks to be updated in one iteration.
// 0 means unlimited parallelism.
Parallelism uint64 `json:",omitempty"`
Parallelism uint64
// Amount of time between updates.
Delay time.Duration `json:",omitempty"`