Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookupPatchMetadataForStruct (0.29 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    func handleMapDiff(key string, originalValue, modifiedValue, patch map[string]interface{},
    	schema LookupPatchMeta, diffOptions DiffOptions) error {
    	subschema, patchMeta, err := schema.LookupPatchMetadataForStruct(key)
    
    	if err != nil {
    		// We couldn't look up metadata for the field
    		// If the values are identical, this doesn't matter, no patch is needed
    		if reflect.DeepEqual(originalValue, modifiedValue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
Back to top