mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
swagger: fix MemTotal units in SystemInfo endpoint
MemTotal represents bytes, not kilobytes. See Linux[1] and Windows[2] implementations. [1]:f50a40e889/pkg/system/meminfo_linux.go (L49)
[2]:f50a40e889/pkg/system/meminfo_windows.go (L40)
Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
This commit is contained in:
parent
f50a40e889
commit
13e0ba700a
10 changed files with 10 additions and 10 deletions
|
@ -4606,7 +4606,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue