Cleanup no longer fit comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
parent
02f77a1b84
commit
b3b6e0da0a
@ -180,9 +180,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta2.DefaultPreemptionArgs) {
|
||||
}
|
||||
|
||||
func SetDefaults_InterPodAffinityArgs(obj *v1beta2.InterPodAffinityArgs) {
|
||||
// Note that an object is created manually in cmd/kube-scheduler/app/options/deprecated.go
|
||||
// DeprecatedOptions#ApplyTo.
|
||||
// Update that object if a new default field is added here.
|
||||
if obj.HardPodAffinityWeight == nil {
|
||||
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
||||
}
|
||||
|
@ -181,9 +181,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta3.DefaultPreemptionArgs) {
|
||||
}
|
||||
|
||||
func SetDefaults_InterPodAffinityArgs(obj *v1beta3.InterPodAffinityArgs) {
|
||||
// Note that an object is created manually in cmd/kube-scheduler/app/options/deprecated.go
|
||||
// DeprecatedOptions#ApplyTo.
|
||||
// Update that object if a new default field is added here.
|
||||
if obj.HardPodAffinityWeight == nil {
|
||||
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user