mirror of
https://github.com/moby/moby.git
synced 2026-08-13 17:06:44 +00:00
The `--latest` option was implemented in [moby@b295239] as a CLI shortcut for `--last=1`. However, as part of a large refactor of the client in [moby@d05aa41], a `ContainerListOptions` type was introduced, which contained a `Latest` field. This field was never used, as the `Latest` option was handled in the CLI, and had no corresponding option for the API (other than `limit`). This patch removes the field from the backend, because it's not used. Removal from the client will require a deprecation, and will be handled separately. [moby@b295239]:b295239de2[moby@d05aa41]:d05aa418b0Signed-off-by: Sebastiaan van Stijn <github@gone.nl>