Add break after found = true
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
parent
1e83886dd5
commit
8928677ea2
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…
Add table
Reference in a new issue