• k8s-merge-robot's avatar
    Merge pull request #26907 from smarterclayton/tolerate_quantity · 54b352ae
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Resource quantity must support leading and trailing whitespace in JSON for back-compat
    
    For backwards compatibility reasons, we must continue to support leading or trailing whitespace on Quantity values when deserialized from JSON.  We must also support numbers serialized into yaml (`cpu: 1`) and JSON (`"cpu": 1`)
    
    Fixes #26898
    54b352ae
Name
Last commit
Last update
..
amount.go Loading commit data...
amount_test.go Loading commit data...
deep_copy.go Loading commit data...
generated.pb.go Loading commit data...
generated.proto Loading commit data...
math.go Loading commit data...
math_test.go Loading commit data...
quantity.go Loading commit data...
quantity_example_test.go Loading commit data...
quantity_proto.go Loading commit data...
quantity_test.go Loading commit data...
scale_int.go Loading commit data...
scale_int_test.go Loading commit data...
suffix.go Loading commit data...