DockerCLI/vendor
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
..
github.com vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
golang.org/x vendor: golang.org/x/text v0.3.7 2022-03-09 18:17:13 +01:00
google.golang.org vendor: github.com/containerd/containerd v1.5.10 2022-03-09 18:15:40 +01:00
gopkg.in/yaml.v2 vendor: gopkg.in/yaml.v2 v2.4.0 2022-03-01 15:46:53 +01:00
gotest.tools/v3 vendor: gotest.tools/v3 v3.1.0 2022-03-02 00:30:46 +01:00
modules.txt vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00