mirror of https://github.com/k3s-io/k3s
ommitting close file while testing manifest
parent
4def5add11
commit
b17e0a2876
|
@ -89,6 +89,7 @@ func TestWriteStaticPodManifests(t *testing.T) {
|
||||||
t.Errorf("WriteStaticPodManifests: %v", err)
|
t.Errorf("WriteStaticPodManifests: %v", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
defer manifest.Close()
|
||||||
|
|
||||||
var pod api.Pod
|
var pod api.Pod
|
||||||
d := yaml.NewYAMLOrJSONDecoder(manifest, 4096)
|
d := yaml.NewYAMLOrJSONDecoder(manifest, 4096)
|
||||||
|
|
Loading…
Reference in New Issue