docker_swarm_service: Fix description of limits.memory (#66078)

This option corresponds to the '--limit-memory' option. Also
fix other mentions memory reservation instead of limit.
This commit is contained in:
Pedro Alvarez Piedehierro 2019-12-29 21:18:46 +01:00 committed by Felix Fontein
parent 8456d4e354
commit 30cfa92e90

View file

@ -209,12 +209,12 @@ options:
type: float
memory:
description:
- "Service memory reservation in format C(<number>[<unit>]). Number is a positive integer.
- "Service memory limit in format C(<number>[<unit>]). Number is a positive integer.
Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte),
C(T) (tebibyte), or C(P) (pebibyte)."
- C(0) equals no reservation.
- C(0) equals no limit.
- Omitting the unit defaults to bytes.
- Corresponds to the C(--reserve-memory) option of C(docker service create).
- Corresponds to the C(--limit-memory) option of C(docker service create).
type: str
type: dict
version_added: "2.8"