Changed API doc

This commit is contained in:
Bobby (Babak) Salamat
2018-02-18 17:47:06 -08:00
parent 5f7354679e
commit 0b0884f146
2 changed files with 4 additions and 4 deletions

View File

@@ -46,8 +46,8 @@ type PriorityClass struct {
// globalDefault specifies whether this PriorityClass should be considered as
// the default priority for pods that do not have any priority class.
// Only one PriorityClass with can be marked as `globalDefault`. Due to race conditions, more than
// one PriorityClasses might be created with their `globalDefault` field set to true. In that case,
// Only one PriorityClass can be marked as `globalDefault`. However, if more than
// one PriorityClasses exists with their `globalDefault` field set to true,
// the smallest value of such global default PriorityClasses will be used as the default priority.
// +optional
GlobalDefault bool

View File

@@ -39,8 +39,8 @@ type PriorityClass struct {
// globalDefault specifies whether this PriorityClass should be considered as
// the default priority for pods that do not have any priority class.
// Only one PriorityClass with can be marked as `globalDefault`. Due to race conditions, more than
// one PriorityClasses might be created with their `globalDefault` field set to true. In that case,
// Only one PriorityClass can be marked as `globalDefault`. However, if more than
// one PriorityClasses exists with their `globalDefault` field set to true,
// the smallest value of such global default PriorityClasses will be used as the default priority.
// +optional
GlobalDefault bool `json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"`