Skip to content

Commit 77e1581

Browse files
authored
add (#2796)
1 parent ac20628 commit 77e1581

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tencentcloud/services/postgresql/resource_tc_postgresql_instance.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,11 @@ func ResourceTencentCloudPostgresqlInstance() *schema.Resource {
322322
func resourceTencentCloudPostgresqlInstanceCreate(d *schema.ResourceData, meta interface{}) error {
323323
defer tccommon.LogElapsed("resource.tencentcloud_postgresql_instance.create")()
324324

325-
var (
326-
logId = tccommon.GetLogId(tccommon.ContextNil)
327-
ctx = context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
328-
//internal version: replace clientCreate begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
329-
postgresqlService = PostgresqlService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
330-
//internal version: replace clientCreate end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
331-
)
325+
logId := tccommon.GetLogId(tccommon.ContextNil)
326+
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
327+
//internal version: replace clientCreate begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
328+
postgresqlService := PostgresqlService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
329+
//internal version: replace clientCreate end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
332330

333331
var (
334332
name = d.Get("name").(string)

0 commit comments

Comments
 (0)