Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oldCustomResource (0.92 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	oldCustomResource := oldCustomResourceObject.UnstructuredContent()
    
    	// If the /status subresource endpoint is installed, update is not allowed to set status.
    	if a.status != nil {
    		_, ok1 := newCustomResource["status"]
    		_, ok2 := oldCustomResource["status"]
    		switch {
    		case ok2:
    			newCustomResource["status"] = oldCustomResource["status"]
    		case ok1:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top