From 18cb7ef65003ec4ddf5e01175c8bb9bbd7ff3e06 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Fri, 5 Aug 2022 23:05:00 +0800 Subject: [PATCH] fix checkError in terraform/testutils (#5893) Signed-off-by: Abirdcfly --- tests/terraform/testutils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/terraform/testutils.go b/tests/terraform/testutils.go index 0b42c9ef4c..4057297bb4 100644 --- a/tests/terraform/testutils.go +++ b/tests/terraform/testutils.go @@ -45,8 +45,7 @@ func GetBasepath() string { func checkError(e error) { if e != nil { - log.Fatal(err) - panic(e) + log.Fatal(e) } }