mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
add err handling in gce/gci
This commit is contained in:
@@ -148,7 +148,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) {
|
||||
|
Reference in New Issue
Block a user