mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #48014 from FengyunPan/Remove-duplicate-constants
Automatic merge from submit-queue [Federation]Remove duplicate constants Clean up them, the constants are defined in replicaset_test.go and replicasetcontroller_test.go, and replicaset_test.go did not use them. **Release note**: ```release-note NONE ```
This commit is contained in:
commit
04387ac0d0
@ -28,13 +28,6 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
const (
|
||||
pods = "pods"
|
||||
replicasets = "replicasets"
|
||||
k8s1 = "k8s-1"
|
||||
k8s2 = "k8s-2"
|
||||
)
|
||||
|
||||
func TestClusterReplicaState(t *testing.T) {
|
||||
uncalledPodsGetter := func(clusterName string, replicaSet *extensionsv1.ReplicaSet) (*apiv1.PodList, error) {
|
||||
t.Fatal("podsGetter should not be called when replica sets are all ready.")
|
||||
|
Loading…
Reference in New Issue
Block a user