mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: bump github.com/kubernetes-csi/external-snapshotter/client/v6
Bumps [github.com/kubernetes-csi/external-snapshotter/client/v6](https://github.com/kubernetes-csi/external-snapshotter) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/kubernetes-csi/external-snapshotter/releases) - [Commits](https://github.com/kubernetes-csi/external-snapshotter/compare/v6.1.0...v6.2.0) --- updated-dependencies: - dependency-name: github.com/kubernetes-csi/external-snapshotter/client/v6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
544c5f33f3
commit
c1a636b431
6
vendor/k8s.io/kube-openapi/pkg/validation/spec/gnostic.go
generated
vendored
6
vendor/k8s.io/kube-openapi/pkg/validation/spec/gnostic.go
generated
vendored
@ -219,8 +219,8 @@ func (k *Ref) FromGnostic(g string) error {
|
||||
// Caveats:
|
||||
//
|
||||
// - gnostic v2 documents treats zero as unspecified for numerical fields of
|
||||
//CommonValidations fields such as Maximum, Minimum, MaximumItems, etc.
|
||||
//There will always be data loss if one of the values of these fields is set to zero.
|
||||
// CommonValidations fields such as Maximum, Minimum, MaximumItems, etc.
|
||||
// There will always be data loss if one of the values of these fields is set to zero.
|
||||
//
|
||||
// Returns:
|
||||
//
|
||||
@ -1263,6 +1263,8 @@ func (k *Schema) FromGnostic(g *openapi_v2.Schema) (ok bool, err error) {
|
||||
k.AdditionalProperties.Allows = g.AdditionalProperties.GetBoolean()
|
||||
} else {
|
||||
k.AdditionalProperties.Schema = &Schema{}
|
||||
k.AdditionalProperties.Allows = true
|
||||
|
||||
if nok, err := k.AdditionalProperties.Schema.FromGnostic(g.AdditionalProperties.GetSchema()); err != nil {
|
||||
return false, err
|
||||
} else if !nok {
|
||||
|
Reference in New Issue
Block a user