From b62ae3048a96ee3db11d642cd9b01edf53ff57eb Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 27 Jul 2015 11:01:26 -0400 Subject: [PATCH] api/client/build: typo in error Signed-off-by: Vincent Batts Upstream-commit: 0e697ebe6eddc02b0fd2f35bf7bb4557b068be18 Component: engine --- components/engine/api/client/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/api/client/build.go b/components/engine/api/client/build.go index 6dac4a3f39..f424e9b3f6 100644 --- a/components/engine/api/client/build.go +++ b/components/engine/api/client/build.go @@ -392,7 +392,7 @@ func getContextFromReader(r io.Reader, dockerfileName string) (absContextDir, re } if err := archive.Untar(buf, absContextDir, nil); err != nil { - return "", "", fmt.Errorf("unable to extract stdin to temporary context direcotry: %v", err) + return "", "", fmt.Errorf("unable to extract stdin to temporary context directory: %v", err) } return getDockerfileRelPath(absContextDir, dockerfileName)