浏览代码

api/client/build: typo in error

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Vincent Batts 10 年之前
父节点
当前提交
0e697ebe6e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/client/build.go

+ 1 - 1
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)