It is better to add "\n" in printf

Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
Upstream-commit: 9b015bd4fd7716243564250ada0e3797c0f29fcb
Component: engine
This commit is contained in:
YuPengZTE
2016-08-23 09:01:25 +08:00
parent 742fa26537
commit 4d10a59191
2 changed files with 2 additions and 2 deletions
@@ -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)
}
@@ -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 != "" {