Files
docker-cli/components/cli/command/system
Yong Tang 43c228543a Remove duplicate keys in labels of docker info
This fix tries to address the issue raised in 24392 where
labels with duplicate keys exist in `docker info`, which
contradicts with the specifications in the docs.

The reason for duplicate keys is that labels are stored as
slice of strings in the format of `A=B` (and the input/output).

This fix tries to address this issue by checking conflict
labels when daemon started, and remove duplicate labels (K-V).

The existing `/info` API has not been changed.

An additional integration test has been added to cover the
changes in this fix.

This fix fixes 24392.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 805f669512
Component: cli
2016-10-18 07:45:27 -07:00
..
2016-10-11 00:42:21 +08:00
2016-10-18 19:40:16 +08:00
2016-10-18 19:40:16 +08:00
2016-10-11 00:42:21 +08:00
2016-10-18 19:40:16 +08:00