mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +08:00
upgrade all dependencies
The dependabot does not update dependencies when they do not use a tag. This patch upgrades all untagged depenencies if possible. You can upgrade all dependencies with `go get -u ./... && make vendor` in theory however this failed since the k8s changes do not compile on go v1.16 so I only updated the other dependencies. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
5
vendor/github.com/opencontainers/runtime-tools/validate/validate.go
generated
vendored
5
vendor/github.com/opencontainers/runtime-tools/validate/validate.go
generated
vendored
@@ -131,9 +131,8 @@ func JSONSchemaURL(version string) (url string, err error) {
|
||||
if err != nil {
|
||||
return "", specerror.NewError(specerror.SpecVersionInSemVer, err, rspec.Version)
|
||||
}
|
||||
configRenamedToConfigSchemaVersion, err := semver.Parse("1.0.0-rc2") // config.json became config-schema.json in 1.0.0-rc2
|
||||
if ver.Compare(configRenamedToConfigSchemaVersion) == -1 {
|
||||
return "", fmt.Errorf("unsupported configuration version (older than %s)", configRenamedToConfigSchemaVersion)
|
||||
if ver.LT(semver.Version{Major: 1, Minor: 0, Patch: 2}) {
|
||||
return "", errors.New("unsupported configuration version (older than 1.0.2)")
|
||||
}
|
||||
return fmt.Sprintf(configSchemaTemplate, version), nil
|
||||
}
|
||||
|
||||
1
vendor/github.com/opencontainers/runtime-tools/validate/validate_linux.go
generated
vendored
1
vendor/github.com/opencontainers/runtime-tools/validate/validate_linux.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package validate
|
||||
|
||||
1
vendor/github.com/opencontainers/runtime-tools/validate/validate_unsupported.go
generated
vendored
1
vendor/github.com/opencontainers/runtime-tools/validate/validate_unsupported.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package validate
|
||||
|
||||
Reference in New Issue
Block a user