Merge pull request #30614 from Microsoft/jjh/vendorgowinio

Revendor Microsoft/go-winio v0.3.8
This commit is contained in:
Vincent Demeester 2017-02-01 09:52:55 +01:00 committed by GitHub
commit 8f8c4f20e3
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# the following lines are in sorted order, FYI # the following lines are in sorted order, FYI
github.com/Azure/go-ansiterm 388960b655244e76e24c75f48631564eaefade62 github.com/Azure/go-ansiterm 388960b655244e76e24c75f48631564eaefade62
github.com/Microsoft/hcsshim v0.5.10 github.com/Microsoft/hcsshim v0.5.10
github.com/Microsoft/go-winio v0.3.7 github.com/Microsoft/go-winio v0.3.8
github.com/Sirupsen/logrus v0.11.0 github.com/Sirupsen/logrus v0.11.0
github.com/davecgh/go-spew 6d212800a42e8ab5c146b8ace3490ee17e5225f9 github.com/davecgh/go-spew 6d212800a42e8ab5c146b8ace3490ee17e5225f9
github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a

View file

@ -339,7 +339,7 @@ func WriteBackupStreamFromTarFile(w io.Writer, t *tar.Reader, hdr *tar.Header) (
bhdr := winio.BackupHeader{ bhdr := winio.BackupHeader{
Id: winio.BackupAlternateData, Id: winio.BackupAlternateData,
Size: ahdr.Size, Size: ahdr.Size,
Name: ahdr.Name[len(hdr.Name)+1:] + ":$DATA", Name: ahdr.Name[len(hdr.Name):] + ":$DATA",
} }
err = bw.WriteHeader(&bhdr) err = bw.WriteHeader(&bhdr)
if err != nil { if err != nil {