Skip to content

Commit cfbe786

Browse files
rm defer to test
1 parent 1307c2b commit cfbe786

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

postgresql/resource_postgresql_script.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ func resourcePostgreSQLScriptCreateOrUpdate(ctx context.Context, db *DBConnectio
107107
}}
108108
}
109109

110-
defer targetDB.Close()
111-
112110
sum := shasumCommands(commands)
113111
d.SetId(sum)
114112

0 commit comments

Comments
 (0)