mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Use a back-compat struct to handle listing volumes for volumes we know about (because, presumably, they are being used by a container) for volume drivers which don't yet support `List`. Adds a fall-back for the volume driver `Get` call, which will use `Create` when the driver returns a `404` for `Get`. The old behavior was to always use `Create` to get a volume reference. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: f6c20d9b22ec9913f67b6c2ebdb5ef07c87b8cd7 Component: engine