Skip to content

Commit 18cb7ef

Browse files
authored
fix checkError in terraform/testutils (#5893)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
1 parent 77fa7fb commit 18cb7ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/terraform/testutils.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ func GetBasepath() string {
4545

4646
func checkError(e error) {
4747
if e != nil {
48-
log.Fatal(err)
49-
panic(e)
48+
log.Fatal(e)
5049
}
5150
}
5251

0 commit comments

Comments
 (0)