moby--moby/distribution
Sebastiaan van Stijn 968ff5ab44
fix some minor linting issues
libnetwork/firewall_linux.go:11:21: var-declaration: should drop = nil from declaration of var ctrl; it is the zero value (revive)
        ctrl *controller = nil
                           ^
    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>
2022-07-04 10:15:28 +02:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go
errors.go
errors_test.go
manifest.go
manifest_test.go
pull.go
pull_v2.go distribution: match manifest list resolution with containerd 2022-06-02 11:21:07 -07:00
pull_v2_test.go fix some minor linting issues 2022-07-04 10:15:28 +02:00
pull_v2_unix.go distribution: match manifest list resolution with containerd 2022-06-02 11:21:07 -07:00
pull_v2_windows.go
push.go
push_v2.go
push_v2_test.go
registry.go
registry_unit_test.go
repository.go