DockerCLI/vendor/github.com/docker
Sebastiaan van Stijn dc9e069ff2
vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43
Changed `matcher.Matches(file)` to `matcher.MatchesOrParentMatches(file)`:

    cli/command/image/build/context.go:95:9: SA1019: matcher.Matches is deprecated: This implementation is buggy (it only checks a single parent dir against the pattern) and will be removed soon. Use either MatchesOrParentMatches or MatchesUsingParentResults instead.  (staticcheck)
        return matcher.Matches(file)
               ^

And updated a test to match the JSON omitting empty RootFS.Type fields (in
practice, this field should never be empty in real situations, and always
be "layer"). Changed the test to use subtests to easier find which case
is failing.

full diff: 343665850e...83b51522df

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-09 18:45:37 +01:00
..
distribution vendor: github.com/docker/distribution v2.8.1 2022-03-09 18:20:28 +01:00
docker vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
docker-credential-helpers vendor with go mod 2021-12-16 21:16:01 +01:00
go vendor with go mod 2021-12-16 21:16:01 +01:00
go-connections vendor with go mod 2021-12-16 21:16:01 +01:00
go-events vendor with go mod 2021-12-16 21:16:01 +01:00
go-metrics vendor with go mod 2021-12-16 21:16:01 +01:00
go-units vendor with go mod 2021-12-16 21:16:01 +01:00
swarmkit vendor with go mod 2021-12-16 21:16:01 +01:00