mirror of https://github.com/volcano-sh/apis.git
Set optional for allocated in queue status
Signed-off-by: JesseStutler <chenzicong4@huawei.com>
This commit is contained in:
parent
9f6712252c
commit
12895d7afb
|
|
@ -288,6 +288,7 @@ type QueueStatus struct {
|
||||||
Reservation Reservation
|
Reservation Reservation
|
||||||
|
|
||||||
// Allocated is allocated resources in queue
|
// Allocated is allocated resources in queue
|
||||||
|
// +optional
|
||||||
Allocated v1.ResourceList
|
Allocated v1.ResourceList
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -305,6 +305,7 @@ type QueueStatus struct {
|
||||||
Reservation Reservation `json:"reservation,omitempty" protobuf:"bytes,7,opt,name=reservation"`
|
Reservation Reservation `json:"reservation,omitempty" protobuf:"bytes,7,opt,name=reservation"`
|
||||||
|
|
||||||
// Allocated is allocated resources in queue
|
// Allocated is allocated resources in queue
|
||||||
|
// +optional
|
||||||
Allocated v1.ResourceList `json:"allocated" protobuf:"bytes,8,opt,name=allocated"`
|
Allocated v1.ResourceList `json:"allocated" protobuf:"bytes,8,opt,name=allocated"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue