Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg

Automatic merge from submit-queue (batch tested with PRs 53631, 56960). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Remove unused code in UT files in pkg/

**What this PR does / why we need it**:
Remove unused code in UT files in pkg/ .

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2018-01-18 02:41:29 -08:00
committed by GitHub
41 changed files with 18 additions and 325 deletions

View File

@@ -74,17 +74,6 @@ var validController = api.ReplicationController{
Spec: validControllerSpec,
}
var validScale = autoscaling.Scale{
ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
Spec: autoscaling.ScaleSpec{
Replicas: validReplicas,
},
Status: autoscaling.ScaleStatus{
Replicas: 0,
Selector: "a=b",
},
}
func TestGet(t *testing.T) {
storage, _, si, destroyFunc := newStorage(t)
defer destroyFunc()