Set optional for allocated in queue status

Signed-off-by: JesseStutler <chenzicong4@huawei.com>
This commit is contained in:
JesseStutler 2025-03-25 14:24:41 +08:00
parent 9f6712252c
commit 12895d7afb
2 changed files with 2 additions and 0 deletions

View File

@ -288,6 +288,7 @@ type QueueStatus struct {
Reservation Reservation
// Allocated is allocated resources in queue
// +optional
Allocated v1.ResourceList
}

View File

@ -305,6 +305,7 @@ type QueueStatus struct {
Reservation Reservation `json:"reservation,omitempty" protobuf:"bytes,7,opt,name=reservation"`
// Allocated is allocated resources in queue
// +optional
Allocated v1.ResourceList `json:"allocated" protobuf:"bytes,8,opt,name=allocated"`
}