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
commit 95a3cd54cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {