Files
moby/daemon/server
Sebastiaan van Stijn 5961616a77 daemon/server/backend: ContainerListOptions: remove unused Latest field
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]: d05aa418b0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-20 12:44:58 +01:00
..