summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Edigaryev <edigaryev@gmail.com>2020-09-10 14:34:00 +0300
committerSebastiaan van Stijn <github@gone.nl>2020-09-14 14:37:54 +0200
commita4e96a486f32b3f13953510e479f33c32e27326a (patch)
treed13d398694f7e9f32c6c9f76370d8f265c5febb6
parent88820a4793eabd2a5624e7a16772207cfa073f98 (diff)
downloaddocker-a4e96a486f32b3f13953510e479f33c32e27326a.tar.gz
swagger: fix MemTotal units in SystemInfo endpoint
MemTotal represents bytes, not kilobytes. See Linux[1] and Windows[2] implementations. [1]: https://github.com/moby/moby/blob/f50a40e889fdaeebf14fce1d494f95e60092d21d/pkg/system/meminfo_linux.go#L49 [2]: https://github.com/moby/moby/blob/f50a40e889fdaeebf14fce1d494f95e60092d21d/pkg/system/meminfo_windows.go#L40 Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com> (cherry picked from commit 13e0ba700ad53e6c97e91c8775376a7eff175555) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r--api/swagger.yaml2
-rw-r--r--docs/api/v1.32.yaml2
-rw-r--r--docs/api/v1.33.yaml2
-rw-r--r--docs/api/v1.34.yaml2
-rw-r--r--docs/api/v1.35.yaml2
-rw-r--r--docs/api/v1.36.yaml2
-rw-r--r--docs/api/v1.37.yaml2
-rw-r--r--docs/api/v1.38.yaml2
-rw-r--r--docs/api/v1.39.yaml2
-rw-r--r--docs/api/v1.40.yaml2
10 files changed, 10 insertions, 10 deletions
diff --git a/api/swagger.yaml b/api/swagger.yaml
index 8ed0b884a1..70b09a0e3b 100644
--- a/api/swagger.yaml
+++ b/api/swagger.yaml
@@ -4467,7 +4467,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.32.yaml b/docs/api/v1.32.yaml
index 0c9ee9515a..770f9890f6 100644
--- a/docs/api/v1.32.yaml
+++ b/docs/api/v1.32.yaml
@@ -3599,7 +3599,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.33.yaml b/docs/api/v1.33.yaml
index afec91e72a..af4acdd47b 100644
--- a/docs/api/v1.33.yaml
+++ b/docs/api/v1.33.yaml
@@ -3604,7 +3604,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.34.yaml b/docs/api/v1.34.yaml
index 80319ae7f3..8e65d92367 100644
--- a/docs/api/v1.34.yaml
+++ b/docs/api/v1.34.yaml
@@ -3633,7 +3633,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.35.yaml b/docs/api/v1.35.yaml
index b1533f6b71..d28bfd3da0 100644
--- a/docs/api/v1.35.yaml
+++ b/docs/api/v1.35.yaml
@@ -3615,7 +3615,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.36.yaml b/docs/api/v1.36.yaml
index 8ff7415d62..d0c879f8fd 100644
--- a/docs/api/v1.36.yaml
+++ b/docs/api/v1.36.yaml
@@ -3628,7 +3628,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.37.yaml b/docs/api/v1.37.yaml
index 2124a816b1..10f9964631 100644
--- a/docs/api/v1.37.yaml
+++ b/docs/api/v1.37.yaml
@@ -3648,7 +3648,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.38.yaml b/docs/api/v1.38.yaml
index 86374415fd..4cd1e49c84 100644
--- a/docs/api/v1.38.yaml
+++ b/docs/api/v1.38.yaml
@@ -3702,7 +3702,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml
index 74c295ba8a..5fa201d479 100644
--- a/docs/api/v1.39.yaml
+++ b/docs/api/v1.39.yaml
@@ -4345,7 +4345,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240
diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml
index 8ed0b884a1..70b09a0e3b 100644
--- a/docs/api/v1.40.yaml
+++ b/docs/api/v1.40.yaml
@@ -4467,7 +4467,7 @@ definitions:
example: 4
MemTotal:
description: |
- Total amount of physical memory available on the host, in kilobytes (kB).
+ Total amount of physical memory available on the host, in bytes.
type: "integer"
format: "int64"
example: 2095882240