- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewErrs (0.23 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go
// ratcheting validation of x-kubernetes-list-type value map and set if newErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uNew.Object); len(newErrs) > 0 { if oldErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uOld.Object); len(oldErrs) == 0 { errs = append(errs, newErrs...) } } // validate x-kubernetes-validations rules
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 22:16:10 UTC 2023 - 4.6K bytes - Viewed (0) -
operator/pkg/patch/patch.go
bo := make(map[any]any) by, err := base.YAML() if err != nil { return "", util.NewErrs(err) } // Use yaml2 specifically to allow interface{} as key which WritePathContext treats specially err = yaml2.Unmarshal(by, &bo) if err != nil { return "", util.NewErrs(err) } for _, p := range patches { v := p.Value.AsInterface() if strings.TrimSpace(p.Path) == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 6.2K bytes - Viewed (0)