add err handling in gce/gci
This commit is contained in:
@@ -148,7 +148,9 @@ func (c *ManifestTestCase) mustLoadPodFromManifest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *ManifestTestCase) tearDown() {
|
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) {
|
func copyFile(src, dst string) (err error) {
|
||||||
|
Reference in New Issue
Block a user