Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always include Ports within inspect response
Related to containerd#3310 New behavior will always initialize a NetworkSettings entity within the inspect response. If the target container does not exist, the NetworkSettings will be full of "zero-value" members. If the target container is active, but ports were not published, then the Ports key of NetworkSettings will have an empty structure value. If the target container is active and ports were published, then the Ports key of NetworkSettings will have populated values. Signed-off-by: Sam Chew <stchew@amazon.com>
- Loading branch information