Преглед на файлове

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 {
 	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)
 	return getDockerfileRelPath(absContextDir, dockerfileName)