File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,10 @@ import (
46
46
var newLineRegexp = regexp .MustCompile ("\r ?\n " )
47
47
48
48
type dnsTestCommon struct {
49
- f * framework.Framework
50
- c clientset.Interface
51
- ns string
52
- name string
53
- labels []string
49
+ f * framework.Framework
50
+ c clientset.Interface
51
+ ns string
52
+ name string
54
53
55
54
dnsPod * v1.Pod
56
55
utilPod * v1.Pod
@@ -189,13 +188,6 @@ func (t *dnsTestCommon) restoreDNSConfigMap(configMapData map[string]string) {
189
188
}
190
189
}
191
190
192
- func (t * dnsTestCommon ) deleteConfigMap () {
193
- ginkgo .By (fmt .Sprintf ("Deleting the ConfigMap (%s:%s)" , t .ns , t .name ))
194
- t .cm = nil
195
- err := t .c .CoreV1 ().ConfigMaps (t .ns ).Delete (context .TODO (), t .name , metav1.DeleteOptions {})
196
- framework .ExpectNoError (err , "failed to delete config map: %s" , t .name )
197
- }
198
-
199
191
func (t * dnsTestCommon ) createUtilPodLabel (baseName string ) {
200
192
// Actual port # doesn't matter, just needs to exist.
201
193
const servicePort = 10101
You can’t perform that action at this time.
0 commit comments