mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value
Based on review feedback (https://github.com/kubernetes/kubernetes/pull/127511#discussion_r1823521172).
This commit is contained in:
6
api/openapi-spec/swagger.json
generated
6
api/openapi-spec/swagger.json
generated
@@ -16343,13 +16343,13 @@
|
||||
"io.k8s.api.resource.v1beta1.DeviceCapacity": {
|
||||
"description": "DeviceCapacity describes a quantity associated with a device.",
|
||||
"properties": {
|
||||
"quantity": {
|
||||
"value": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"description": "Quantity defines how much of a certain device capacity is available."
|
||||
"description": "Value defines how much of a certain device capacity is available."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"quantity"
|
||||
"value"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@@ -264,17 +264,17 @@
|
||||
"io.k8s.api.resource.v1beta1.DeviceCapacity": {
|
||||
"description": "DeviceCapacity describes a quantity associated with a device.",
|
||||
"properties": {
|
||||
"quantity": {
|
||||
"value": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||
}
|
||||
],
|
||||
"description": "Quantity defines how much of a certain device capacity is available."
|
||||
"description": "Value defines how much of a certain device capacity is available."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"quantity"
|
||||
"value"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
Reference in New Issue
Block a user