mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-24 18:50:39 -05:00
Treat `nil` Amount as 0 in `resource.Quantity.Add` and `resource.Quantity.Sub`. Also, allow adding/subtracting resources with different Formats (since Format has no effect on the underlying value). |
||
|---|---|---|
| .. | ||
| quantity.go | ||
| quantity_example_test.go | ||
| quantity_proto.go | ||
| quantity_test.go | ||
| scale_int.go | ||
| scale_int_test.go | ||
| suffix.go | ||