1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Remove unused distribution/metadata/V1IDService 2022-05-10 23:39:22 +02:00
utils
xfer distribution: retry downloading schema config on retryable error 2022-03-05 19:36:48 +01:00
config.go distribution: remove RootFSFromConfig(), PlatformFromConfig() from ImageConfigStore 2022-04-21 23:12:00 +02:00
errors.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
errors_test.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
manifest.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
manifest_test.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
pull.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
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 distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
push.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2_test.go distribution: remove Pusher interface, NewPusher(), and redundant V1 checks 2022-04-21 23:11:54 +02:00
registry.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00
registry_unit_test.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00
repository.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00