Browse code

Some things just need to be line wrapped.

Signed-off-by: Daniel Nephin <dnephin@docker.com>

Daniel Nephin authored on 2017/03/07 05:07:20
Showing 1 changed files
... ...
@@ -138,7 +138,6 @@ func (out *lastProgressOutput) WriteProgress(prog progress.Progress) error {
138 138
 }
139 139
 
140 140
 func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
141
-
142 141
 	var (
143 142
 		buildCtx      io.ReadCloser
144 143
 		err           error
... ...
@@ -333,7 +332,11 @@ func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
333 333
 	// Windows: show error message about modified file permissions if the
334 334
 	// daemon isn't running Windows.
335 335
 	if response.OSType != "windows" && runtime.GOOS == "windows" && !options.quiet {
336
-		fmt.Fprintln(dockerCli.Out(), `SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.`)
336
+		fmt.Fprintln(dockerCli.Out(), "SECURITY WARNING: You are building a Docker "+
337
+			"image from Windows against a non-Windows Docker host. All files and "+
338
+			"directories added to build context will have '-rwxr-xr-x' permissions. "+
339
+			"It is recommended to double check and reset permissions for sensitive "+
340
+			"files and directories.")
337 341
 	}
338 342
 
339 343
 	// Everything worked so if -q was provided the output from the daemon