Merge pull request #25939 from YuPengZTE/printf

It is better to add "\n" in printf
This commit is contained in:
Vincent Demeester 2016-08-23 10:26:54 +02:00 committed by GitHub
commit b97f985054
2 changed files with 2 additions and 2 deletions

View file

@ -218,7 +218,7 @@ func (s *DockerSuite) TestImagesFilterSpaceTrimCase(c *check.C) {
for idx, listing := range imageListings {
if idx < 4 && !reflect.DeepEqual(listing, imageListings[idx+1]) {
for idx, errListing := range imageListings {
fmt.Printf("out %d", idx)
fmt.Printf("out %d\n", idx)
for _, image := range errListing {
fmt.Print(image)
}

View file

@ -87,7 +87,7 @@ func init() {
var err error
dockerBinary, err = exec.LookPath(dockerBinary)
if err != nil {
fmt.Printf("ERROR: couldn't resolve full path to the Docker binary (%v)", err)
fmt.Printf("ERROR: couldn't resolve full path to the Docker binary (%v)\n", err)
os.Exit(1)
}
if registryImage := os.Getenv("REGISTRY_IMAGE"); registryImage != "" {