Merge pull request #27596 from aaronlehmann/rolling-restart

Add force option to service update
Upstream-commit: 9058ec3be5edaa313caa02371ebe7d7ac64f2faa
Component: engine
This commit is contained in:
Vincent Demeester
2016-10-22 13:37:12 +02:00
committed by GitHub
8 changed files with 50 additions and 6 deletions

View File

@ -61,6 +61,10 @@ type TaskSpec struct {
// spec. If not present, the one on cluster default on swarm.Spec will be
// used, finally falling back to the engine default if not specified.
LogDriver *Driver `json:",omitempty"`
// ForceUpdate is a counter that triggers an update even if no relevant
// parameters have been changed.
ForceUpdate uint64
}
// Resources represents resources (CPU/Memory).