mirror of
https://github.com/docker/cli.git
synced 2026-09-26 09:20:58 -04:00
edfe468b0876adf8215a0a84846b87d8b5e691c5
This fix tries to address the issue raised in 26220 where disconnecting a container from network does not work if the network id (instead of network name) has been specified. The issue was that internally when trying to disconnecting a contaienr fromt the network, the originally passed network name or id has been used. This fix uses the resolved network name (e.g., `bridge`). An integration test has been added to cover the changes. This fix fixes 26220. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: 83d79f13aa2e94085e83e0f5bc5d51305dd2c192 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%