From 8928677ea2b4e69ecfd96a2c951a33e46b7b7388 Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Tue, 26 Jul 2016 22:03:14 +0800
Subject: [PATCH] Add break after found = true
Signed-off-by: lixiaobing10051267
---
integration-cli/docker_cli_daemon_test.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_cli_daemon_test.go
index 0e6d2055ce..bc0168d595 100644
--- a/integration-cli/docker_cli_daemon_test.go
+++ b/integration-cli/docker_cli_daemon_test.go
@@ -378,6 +378,7 @@ func (s *DockerSuite) TestDaemonIPv6Enabled(c *check.C) {
for i := range addrs {
if addrs[i].String() == expected {
found = true
+ break
}
}