1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/api
Sebastiaan van Stijn 8e2343ffd4
docs: fix NanoCPUs casing
While the field in the Go struct is named `NanoCPUs`, it has a JSON label to
use `NanoCpus`, which was added in the original pull request (not clear what
the reason was); 846baf1fd3

Some notes:

- Golang processes field names case-insensitive, so when *using* the API,
  both cases should work, but when inspecting a container, the field is
  returned as `NanoCpus`.
- This only affects Containers.Resources. The `Limits` and `Reservation`
  for SwarmKit services and SwarmKit "nodes" do not override the name
  for JSON, so have the canonical (`NanoCPUs`) casing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-10 13:02:27 +01:00
..
v1.18.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.19.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.20.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.21.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.22.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.23.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.24.md api docs: fix broken link on GitHub 2020-04-09 13:44:51 +02:00
v1.25.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.26.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.27.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.28.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.29.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.30.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.31.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.32.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.33.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.34.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.35.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.36.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.37.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.38.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.39.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.40.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
v1.41.yaml docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
version-history.md docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00