mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +00:00
Cleanup no longer fit comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
@@ -180,9 +180,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta2.DefaultPreemptionArgs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SetDefaults_InterPodAffinityArgs(obj *v1beta2.InterPodAffinityArgs) {
|
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 {
|
if obj.HardPodAffinityWeight == nil {
|
||||||
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
||||||
}
|
}
|
||||||
|
@@ -181,9 +181,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta3.DefaultPreemptionArgs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SetDefaults_InterPodAffinityArgs(obj *v1beta3.InterPodAffinityArgs) {
|
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 {
|
if obj.HardPodAffinityWeight == nil {
|
||||||
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
obj.HardPodAffinityWeight = pointer.Int32Ptr(1)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user