remove unused code of (pkg/controller)
This commit is contained in:
@@ -32,7 +32,6 @@ var (
|
||||
productionLabel = map[string]string{"type": "production"}
|
||||
testLabel = map[string]string{"type": "testing"}
|
||||
productionLabelSelector = labels.Set{"type": "production"}.AsSelector()
|
||||
testLabelSelector = labels.Set{"type": "testing"}.AsSelector()
|
||||
controllerUID = "123"
|
||||
)
|
||||
|
||||
@@ -60,12 +59,10 @@ func newPod(podName string, label map[string]string, owner metav1.Object) *v1.Po
|
||||
func TestClaimPods(t *testing.T) {
|
||||
controllerKind := schema.GroupVersionKind{}
|
||||
type test struct {
|
||||
name string
|
||||
manager *PodControllerRefManager
|
||||
pods []*v1.Pod
|
||||
filters []func(*v1.Pod) bool
|
||||
claimed []*v1.Pod
|
||||
released []*v1.Pod
|
||||
name string
|
||||
manager *PodControllerRefManager
|
||||
pods []*v1.Pod
|
||||
claimed []*v1.Pod
|
||||
}
|
||||
var tests = []test{
|
||||
{
|
||||
|
Reference in New Issue
Block a user