fix checkError in terraform/testutils (#5893)

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
Abirdcfly 2022-08-05 23:05:00 +08:00 committed by GitHub
parent 77fa7fb490
commit 18cb7ef650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,7 @@ func GetBasepath() string {
func checkError(e error) { func checkError(e error) {
if e != nil { if e != nil {
log.Fatal(err) log.Fatal(e)
panic(e)
} }
} }