DockerCLI/cli
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
..
command vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
compose cli/compose/schema: make version: "3" equivalent to "3.x" (latest) 2022-03-01 09:40:33 +01:00
config cli/config: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:15 +01:00
connhelper Use designated test domains (RFC2606) in tests 2021-04-30 10:03:45 +02:00
context remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags remove alias for cli/config imports 2022-03-04 14:45:33 +01:00
manifest remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
registry/client remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
streams update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
trust remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
cobra.go remove alias for cli/config imports 2022-03-04 14:45:33 +01:00
cobra_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) 2019-10-31 19:22:22 +01:00
required_test.go cli: remove deprecated io/ioutil 2022-02-25 15:42:19 +01:00