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:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user