Merge pull request #82720 from hwdef/add-err-handling-in-gce-gci

add err handling in gce/gci
This commit is contained in:
Kubernetes Prow Robot
2019-12-02 22:56:57 -08:00
committed by GitHub

View File

@@ -150,7 +150,9 @@ func (c *ManifestTestCase) mustLoadPodFromManifest() {
}
func (c *ManifestTestCase) tearDown() {
os.RemoveAll(c.kubeHome)
if err := os.RemoveAll(c.kubeHome); err != nil {
c.t.Fatalf("Failed to teardown: %s", err)
}
}
func copyFile(src, dst string) (err error) {