mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 06:29:29 +01:00
chore: update dependencies for security vulnerabilities (CVE-2023-48795)
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
This commit is contained in:
3
vendor/k8s.io/kube-openapi/pkg/generators/rules/idl_tag.go
generated
vendored
3
vendor/k8s.io/kube-openapi/pkg/generators/rules/idl_tag.go
generated
vendored
@@ -33,8 +33,7 @@ func (l *ListTypeMissing) Validate(t *types.Type) ([]string, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
// All slice fields must have a list-type tag except []byte
|
||||
if m.Type.Kind == types.Slice && m.Type.Elem != types.Byte && !hasListType {
|
||||
if m.Type.Kind == types.Slice && !hasListType {
|
||||
fields = append(fields, m.Name)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user