1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Revendor Microsoft/go-winio v0.3.8

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: da6739c99f7e6bf5036073a6c052e6c6d86a461b
Component: engine
This commit is contained in:
John Howard
2017-01-31 16:46:59 -08:00
parent 0a192293c1
commit bf18bba970
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# the following lines are in sorted order, FYI
github.com/Azure/go-ansiterm 388960b655244e76e24c75f48631564eaefade62
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/davecgh/go-spew 6d212800a42e8ab5c146b8ace3490ee17e5225f9
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{
Id: winio.BackupAlternateData,
Size: ahdr.Size,
Name: ahdr.Name[len(hdr.Name)+1:] + ":$DATA",
Name: ahdr.Name[len(hdr.Name):] + ":$DATA",
}
err = bw.WriteHeader(&bhdr)
if err != nil {