mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user