moby--moby/distribution
Kir Kolyshkin a7942baf76
Use io.SeekStart instead of os.SEEK_SET
Fixes linter warnings like this one:

> distribution/pull_v2.go:229:39: SA1019: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.  (staticcheck)

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-09-18 12:57:31 +02:00
..
fixtures/validate_manifest
metadata goimports: fix imports 2019-09-18 12:56:54 +02:00
utils
xfer goimports: fix imports 2019-09-18 12:56:54 +02:00
config.go goimports: fix imports 2019-09-18 12:56:54 +02:00
errors.go goimports: fix imports 2019-09-18 12:56:54 +02:00
errors_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci.go Update containerd client to 1.2.4 2019-02-14 04:47:27 +01:00
pull.go goimports: fix imports 2019-09-18 12:56:54 +02:00
pull_v2.go Use io.SeekStart instead of os.SEEK_SET 2019-09-18 12:57:31 +02:00
pull_v2_test.go Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
pull_v2_unix.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
pull_v2_windows.go Use io.SeekStart instead of os.SEEK_SET 2019-09-18 12:57:31 +02:00
push.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
push_v2.go goimports: fix imports 2019-09-18 12:56:54 +02:00
push_v2_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
registry.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-12 18:52:49 +00:00
registry_unit_test.go distribution: fix passing platform struct to puller 2018-06-27 14:59:31 -07:00