moby/distribution
Sebastiaan van Stijn 057ea3492e fix some minor linting issues
distribution/pull_v2_test.go:213:4: S1038: should use t.Fatalf(...) instead of t.Fatal(fmt.Sprintf(...)) (gosimple)
                t.Fatal(fmt.Sprintf("expected formatPlatform to show windows platform with a version, but got '%s'", result))
                ^
    integration-cli/docker_cli_build_test.go:5951:3: S1038: should use c.Skipf(...) instead of c.Skip(fmt.Sprintf(...)) (gosimple)
            c.Skip(fmt.Sprintf("Bug fixed in 18.06 or higher.Skipping it for %s", testEnv.DaemonInfo.ServerVersion))
            ^
    integration-cli/docker_cli_daemon_test.go:240:3: S1038: should use c.Skipf(...) instead of c.Skip(fmt.Sprintf(...)) (gosimple)
            c.Skip(fmt.Sprintf("New base device size (%v) must be greater than (%s)", units.HumanSize(float64(newBasesizeBytes)), units.HumanSize(float64(oldBasesizeBytes))))
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 968ff5ab44)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-24 17:05:41 -05:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
config.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00
errors.go distribution: Error when pulling OCI artifacts 2022-11-05 18:20:18 +01:00
errors_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
manifest.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
manifest_test.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
pull.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00
pull_v2.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
pull_v2_test.go fix some minor linting issues 2023-02-24 17:05:41 -05:00
pull_v2_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
pull_v2_windows.go Use hcsshim osversion package for Windows versions 2019-10-22 02:53:00 +02:00
push.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
push_v2.go gosec: G601: Implicit memory aliasing in for loop 2022-08-17 18:10:55 +02:00
push_v2_test.go distribution: SA4021: x = append(y) is equivalent to x = y (staticcheck) 2019-10-18 00:45:31 +02:00
registry.go distribution: checkSupportedMediaType: allow additional media-types 2022-12-02 01:31:15 +01:00
registry_unit_test.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00