Skip to content

Commit 1f60920

Browse files
committed
docs renames: cpu_group->cpu_period, cpu_period->cpu_quota
Signed-off-by: Peter Slovak <[email protected]>
1 parent 3076a9a commit 1f60920

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker/api/container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ def create_host_config(self, *args, **kwargs):
473473
cap_add (list of str): Add kernel capabilities. For example,
474474
``["SYS_ADMIN", "MKNOD"]``.
475475
cap_drop (list of str): Drop kernel capabilities.
476-
cpu_group (int): The length of a CPU period in microseconds.
477-
cpu_period (int): Microseconds of CPU time that the container can
476+
cpu_period (int): The length of a CPU period in microseconds.
477+
cpu_quota (int): Microseconds of CPU time that the container can
478478
get in a CPU period.
479479
cpu_shares (int): CPU shares (relative weight).
480480
cpuset_cpus (str): CPUs in which to allow execution (``0-3``,

docker/models/containers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@ def run(self, image, command=None, stdout=True, stderr=False,
456456
cap_add (list of str): Add kernel capabilities. For example,
457457
``["SYS_ADMIN", "MKNOD"]``.
458458
cap_drop (list of str): Drop kernel capabilities.
459-
cpu_group (int): The length of a CPU period in microseconds.
460-
cpu_period (int): Microseconds of CPU time that the container can
459+
cpu_period (int): The length of a CPU period in microseconds.
460+
cpu_quota (int): Microseconds of CPU time that the container can
461461
get in a CPU period.
462462
cpu_shares (int): CPU shares (relative weight).
463463
cpuset_cpus (str): CPUs in which to allow execution (``0-3``,

0 commit comments

Comments
 (0)