moby--moby/docs
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
..
api docs: fix NanoCPUs casing 2021-02-10 13:02:27 +01:00
contributing fix typos and grammar in docs 2020-06-26 17:30:59 -06:00
static_files Remove Docker logo 2017-10-11 13:17:59 +01:00
rootless.md docs/rootless.md: move to https://docs.docker.com/engine/security/rootless/ 2019-12-03 23:56:26 +09:00