Commit af2e55e7 authored by Bobby (Babak) Salamat's avatar Bobby (Babak) Salamat

addressed reviewer comments

parent 33e6a476
...@@ -40,7 +40,7 @@ type PriorityClass struct { ...@@ -40,7 +40,7 @@ type PriorityClass struct {
GlobalDefault bool GlobalDefault bool
// Description is an arbitrary string that usually provides guidelines on // Description is an arbitrary string that usually provides guidelines on
// where this priority class should be used. // when this priority class should be used.
// +optional // +optional
Description string Description string
} }
......
...@@ -37,13 +37,13 @@ type PriorityClass struct { ...@@ -37,13 +37,13 @@ type PriorityClass struct {
// receive when they have the name of this class in their pod spec. // receive when they have the name of this class in their pod spec.
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"` Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
// GlobalDefault specifies whether this PriorityClass should be considered as // globalDefault specifies whether this PriorityClass should be considered as
// the default priority for pods that do not have any priority class. // the default priority for pods that do not have any priority class.
// +optional // +optional
GlobalDefault bool `json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"` GlobalDefault bool `json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"`
// Description is an arbitrary string that usually provides guidelines on // description is an arbitrary string that usually provides guidelines on
// where this priority class should be used. // when this priority class should be used.
// +optional // +optional
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"` Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
} }
...@@ -58,6 +58,6 @@ type PriorityClassList struct { ...@@ -58,6 +58,6 @@ type PriorityClassList struct {
// +optional // +optional
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Items is the list of StorageClasses // items is the list of PriorityClasses
Items []PriorityClass `json:"items" protobuf:"bytes,2,rep,name=items"` Items []PriorityClass `json:"items" protobuf:"bytes,2,rep,name=items"`
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment