mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #46428 from lixiaobing10051267/masterManifest
Automatic merge from submit-queue (batch tested with PRs 45327, 46217, 46377, 46428, 46588) ommitting close file while testing manifest ommitting close file while testing manifest.
This commit is contained in:
commit
e59fd18c16
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user