Merge pull request #25067 from lixiaobing10051267/masterBreak
Add break after found = true
This commit is contained in:
commit
2c947a4b00
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ func (s *DockerSuite) TestDaemonIPv6Enabled(c *check.C) {
|
|||
for i := range addrs {
|
||||
if addrs[i].String() == expected {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue