From a863e8f04fd7c901a4918e09cb659fb61fe7fddf Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 31 Jul 2019 09:10:37 +0200 Subject: [PATCH] Change wording. --- app/swarm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/swarm.py b/app/swarm.py index 5ce29fcf..2a42dd66 100644 --- a/app/swarm.py +++ b/app/swarm.py @@ -40,9 +40,9 @@ class Swarm: ' (10^0) values, it must be conveted. ' ' While the cpu_reservation value has to be in nanos, the - ' mem_reservation value must be presented in bytes (intuitive right?). - ' Bacause the job object provides the memory value in megabytes, it is - ' also necessary to convert the value. + ' mem_reservation value must be presented in an unscaled form + ' (intuitive right?). Bacause the job object provides the memory value + ' in megabytes, it is also necessary to convert the value. ''' _resources = docker.types.Resources( cpu_reservation=job['requested_cpus'] * (10 ** 9),