1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #24976 from lixiaobing10051267/masterFound2

To break the loop when found in search_test.go
This commit is contained in:
Alexander Morozov 2016-07-28 16:59:46 -07:00 committed by GitHub
commit 803e2f285a

View file

@ -347,6 +347,7 @@ func TestSearchRegistryForImages(t *testing.T) {
expectedResult.IsOfficial == result.IsOfficial &&
expectedResult.StarCount == result.StarCount {
found = true
break
}
}
if !found {