Skip to content

Commit 9bd31d9

Browse files
committed
fix(pgsql): fix yunti mark
1 parent 76e5101 commit 9bd31d9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tencentcloud/services/postgresql/resource_tc_postgresql_instance.go

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -970,14 +970,11 @@ func resourceTencentCloudPostgresqlInstanceRead(d *schema.ResourceData, meta int
970970
func resourceTencentCloudPostgresqlInstanceUpdate(d *schema.ResourceData, meta interface{}) error {
971971
defer tccommon.LogElapsed("resource.tencentcloud_postgresql_instance.update")()
972972

973-
var (
974-
logId = tccommon.GetLogId(tccommon.ContextNil)
975-
ctx = context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
976-
//internal version: replace clientUpdate begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
977-
postgresqlService = PostgresqlService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
978-
//internal version: replace clientUpdate end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
979-
)
980-
973+
logId := tccommon.GetLogId(tccommon.ContextNil)
974+
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
975+
//internal version: replace clientUpdate begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
976+
postgresqlService := PostgresqlService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
977+
//internal version: replace clientUpdate end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
981978
instanceId := d.Id()
982979
d.Partial(true)
983980

0 commit comments

Comments
 (0)