mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	DRA API: fix some comments
Wording in one case was wrong. The tombstone comment should use the same field definition as before the removal.
This commit is contained in:
		@@ -217,7 +217,7 @@ type BasicDevice struct {
 | 
			
		||||
	Capacity map[QualifiedName]resource.Quantity
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Limit for the sum of the number of entries in both ResourceSlices.
 | 
			
		||||
// Limit for the sum of the number of entries in both attributes and capacity.
 | 
			
		||||
const ResourceSliceMaxAttributesAndCapacitiesPerDevice = 32
 | 
			
		||||
 | 
			
		||||
// QualifiedName is the name of a device attribute or capacity.
 | 
			
		||||
@@ -888,7 +888,7 @@ type DeviceClassSpec struct {
 | 
			
		||||
	// SuitableNodes is tombstoned since Kubernetes 1.32 where
 | 
			
		||||
	// it got removed. May be reused once decoding v1alpha3 is no longer
 | 
			
		||||
	// supported.
 | 
			
		||||
	// SuitableNodes *v1.NodeSelector `json:"suitableNodes,omitempty" protobuf:"bytes,3,opt,name=suitableNodes"`
 | 
			
		||||
	// SuitableNodes *core.NodeSelector
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeviceClassConfiguration is used in DeviceClass.
 | 
			
		||||
 
 | 
			
		||||
@@ -220,7 +220,7 @@ type BasicDevice struct {
 | 
			
		||||
	Capacity map[QualifiedName]resource.Quantity `json:"capacity,omitempty" protobuf:"bytes,2,rep,name=capacity"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Limit for the sum of the number of entries in both ResourceSlices.
 | 
			
		||||
// Limit for the sum of the number of entries in both attributes and capacity.
 | 
			
		||||
const ResourceSliceMaxAttributesAndCapacitiesPerDevice = 32
 | 
			
		||||
 | 
			
		||||
// QualifiedName is the name of a device attribute or capacity.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user