mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix misspellings
Signed-off-by: Dmitri Logvinenko <dmitri.logvinenko@gmail.com>
This commit is contained in:
parent
35986d4824
commit
6dede879fd
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ type mockCommand struct {
|
|||
}
|
||||
|
||||
// Output returns responses from the remote credentials helper.
|
||||
// It mocks those reponses based in the input in the mock.
|
||||
// It mocks those responses based in the input in the mock.
|
||||
func (m *mockCommand) Output() ([]byte, error) {
|
||||
in, err := ioutil.ReadAll(m.input)
|
||||
if err != nil {
|
||||
|
|
|
@ -11,7 +11,7 @@ type Remote interface {
|
|||
Cleanup()
|
||||
}
|
||||
|
||||
// RemoteOption allows to configure paramters of remotes.
|
||||
// RemoteOption allows to configure parameters of remotes.
|
||||
// This is unused on Windows.
|
||||
type RemoteOption interface {
|
||||
Apply(Remote) error
|
||||
|
|
|
@ -634,7 +634,7 @@ func TarWithOptions(srcPath string, options *TarOptions) (io.ReadCloser, error)
|
|||
|
||||
if err := ta.addTarFile(filePath, relFilePath); err != nil {
|
||||
logrus.Errorf("Can't add file %s to tar: %s", filePath, err)
|
||||
// if pipe is broken, stop writting tar stream to it
|
||||
// if pipe is broken, stop writing tar stream to it
|
||||
if err == io.ErrClosedPipe {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue