ommitting close file while testing manifest

pull/6/head
lixiaobing1 2017-05-25 17:08:58 +08:00
parent 4def5add11
commit b17e0a2876
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ func TestWriteStaticPodManifests(t *testing.T) {
t.Errorf("WriteStaticPodManifests: %v", err)
continue
}
defer manifest.Close()
var pod api.Pod
d := yaml.NewYAMLOrJSONDecoder(manifest, 4096)