mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
add err handling in gce/gci
This commit is contained in:
parent
07e58a361b
commit
e581be1ec7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user