- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for AddWarning (0.29 sec)
-
pkg/registry/core/pod/strategy.go
// typical WarningsOnCreate path to emit the warning before syncing the // annotations & fields. fldPath := field.NewPath("metadata", "annotations").Key(key) warning.AddWarning(ctx, "", fmt.Sprintf(`%s: deprecated since v1.30; use the "appArmorProfile" field instead`, fldPath)) } } return true }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
currentFldPath = currentFldPath.Child(compiled.NormalizedRuleFieldPath) } addErr := func(e *field.Error) { if !compiled.UsesOldSelf && correlation.shouldRatchetError() { warning.AddWarning(ctx, "", e.Error()) } else { errs = append(errs, e) } } if compiled.MessageExpression != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0)