1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor
Sebastiaan van Stijn 90431d1857
daemon/graphdriver/windows: use go-winio.GetFileSystemType()
go-winio now defines this function, so we can consume that.

Note that there's a difference between the old implementation and the original
one (added in 1cb9e9b44e). The old implementation
had special handling for win32 error codes, which was removed in the go-winio
implementation in 0966e1ad56

As `go-winio.GetFileSystemType()` calls `filepath.VolumeName(path)` internally,
this patch also removes the `string(home[0])`, which is redundant, and could
potentially panic if an empty string would be passed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-10 16:22:05 +02:00
..
cloud.google.com/go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
code.cloudfoundry.org/clock bump docker/swarmkit 59163bf75df38489d4a10392265d27156dc473c5 2019-04-15 18:04:36 +02:00
github.com daemon/graphdriver/windows: use go-winio.GetFileSystemType() 2022-10-10 16:22:05 +02:00
go.etcd.io vendor: github.com/docker/swarmkit 616e8db4c3b0 2022-03-10 17:48:09 -05:00
go.opencensus.io vendor: go.opencensus.io v0.23.0 2022-06-29 16:41:12 +02:00
go.opentelemetry.io vendor buildkit v0.10.0 2022-03-22 18:51:27 +01:00
go.uber.org vendor: github.com/docker/swarmkit 616e8db4c3b0 2022-03-10 17:48:09 -05:00
golang.org/x vendor: golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 2022-10-08 21:19:33 +02:00
google.golang.org vendor buildkit 8d45bd6 that fixes dockerd worker integration tests 2022-03-23 16:07:04 +01:00
gotest.tools/v3 vendor: gotest.tools v3.3.0 2022-09-22 15:45:08 +02:00
modules.txt daemon/graphdriver/windows: use go-winio.GetFileSystemType() 2022-10-10 16:22:05 +02:00