mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Use max Replica count instead of hardcoded value
This commit is contained in:
@@ -179,7 +179,7 @@ var _ = SIGDescribe("ReplicationController", func() {
|
||||
|
||||
rcScalePatchPayload, err := json.Marshal(autoscalingv1.Scale{
|
||||
Spec: autoscalingv1.ScaleSpec{
|
||||
Replicas: 2,
|
||||
Replicas: testRcMaxReplicaCount,
|
||||
},
|
||||
})
|
||||
framework.ExpectNoError(err, "Failed to marshal json of replicationcontroller label patch")
|
||||
|
Reference in New Issue
Block a user