Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MergeAsWarnings (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    	if res.IsValid() {
    		return res
    	}
    
    	// Current ratcheting rule is to ratchet errors if DeepEqual(old, new) is true.
    	if r.correlation.CachedDeepEqual() {
    		newRes := &validate.Result{}
    		newRes.MergeAsWarnings(res)
    		return newRes
    	}
    
    	return res
    }
    
    // SubPropertyValidator overrides the standard validator constructor for sub-properties by
    // returning our special ratcheting variant.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top