mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #99625 from llhuii/cleanup-unused-code
Remove unused code in e2e/framework/framework.go
This commit is contained in:
commit
b00432b11c
@ -213,10 +213,6 @@ func (f *Framework) BeforeEach() {
|
|||||||
ExpectNoError(err)
|
ExpectNoError(err)
|
||||||
f.DynamicClient, err = dynamic.NewForConfig(config)
|
f.DynamicClient, err = dynamic.NewForConfig(config)
|
||||||
ExpectNoError(err)
|
ExpectNoError(err)
|
||||||
// node.k8s.io is based on CRD, which is served only as JSON
|
|
||||||
jsonConfig := config
|
|
||||||
jsonConfig.ContentType = "application/json"
|
|
||||||
ExpectNoError(err)
|
|
||||||
|
|
||||||
// create scales getter, set GroupVersion and NegotiatedSerializer to default values
|
// create scales getter, set GroupVersion and NegotiatedSerializer to default values
|
||||||
// as they are required when creating a REST client.
|
// as they are required when creating a REST client.
|
||||||
|
Loading…
Reference in New Issue
Block a user