Skip to content
Snippets Groups Projects
Commit a863e8f0 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Change wording.

parent 5c976199
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,9 @@ class Swarm: ...@@ -40,9 +40,9 @@ class Swarm:
' (10^0) values, it must be conveted. ' (10^0) values, it must be conveted.
' '
' While the cpu_reservation value has to be in nanos, the ' While the cpu_reservation value has to be in nanos, the
' mem_reservation value must be presented in bytes (intuitive right?). ' mem_reservation value must be presented in an unscaled form
' Bacause the job object provides the memory value in megabytes, it is ' (intuitive right?). Bacause the job object provides the memory value
' also necessary to convert the value. ' in megabytes, it is also necessary to convert the value.
''' '''
_resources = docker.types.Resources( _resources = docker.types.Resources(
cpu_reservation=job['requested_cpus'] * (10 ** 9), cpu_reservation=job['requested_cpus'] * (10 ** 9),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment