Attempts -> MaxAttempts in /services/create
(cherry picked from commit 4166801f606b54987fb9a3fda447fc71d3cd0c28)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -4689,7 +4689,7 @@ image](#create-an-image) section for more details. |
| 4689 | 4689 |
as part of this service. |
| 4690 | 4690 |
- **Condition** – Condition for restart (`none`, `on-failure`, or `any`). |
| 4691 | 4691 |
- **Delay** – Delay between restart attempts. |
| 4692 |
- - **Attempts** – Maximum attempts to restart a given container before giving up (default value |
|
| 4692 |
+ - **MaxAttempts** – Maximum attempts to restart a given container before giving up (default value |
|
| 4693 | 4693 |
is 0, which is ignored). |
| 4694 | 4694 |
- **Window** – Windows is the time window used to evaluate the restart policy (default value is |
| 4695 | 4695 |
0, which is unbounded). |