mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Add break after found = true
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn> Upstream-commit: 8928677ea2b4e69ecfd96a2c951a33e46b7b7388 Component: engine
This commit is contained in:
@@ -378,6 +378,7 @@ func (s *DockerSuite) TestDaemonIPv6Enabled(c *check.C) {
|
||||
for i := range addrs {
|
||||
if addrs[i].String() == expected {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user