فهرست منبع

Remove newline char in error message
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Michael Crosby 11 سال پیش
والد
کامیت
cc678a7078
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      pkg/libcontainer/mount/init.go

+ 1 - 1
pkg/libcontainer/mount/init.go

@@ -128,7 +128,7 @@ func setupBindmounts(rootfs string, bindMounts libcontainer.Mounts) error {
 			return err
 		}
 		if err := createIfNotExists(dest, stat.IsDir()); err != nil {
-			return fmt.Errorf("Creating new bind-mount target, %s\n", err)
+			return fmt.Errorf("Creating new bind-mount target, %s", err)
 		}
 
 		if err := system.Mount(m.Source, dest, "bind", uintptr(flags), ""); err != nil {