Skip to content

Commit 12d40b5

Browse files
committed
update lint
1 parent b68e3a3 commit 12d40b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tencentcloud/resource_tc_mps_ai_recognition_template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func resourceTencentCloudMpsAiRecognitionTemplateCreate(d *schema.ResourceData,
285285
if v, ok := dMap["switch"]; ok {
286286
asrFullTextConfigureInfo.Switch = helper.String(v.(string))
287287
}
288-
if v, _ := dMap["subtitle_format"]; v != "" {
288+
if v := dMap["subtitle_format"]; v != "" {
289289
asrFullTextConfigureInfo.SubtitleFormat = helper.String(v.(string))
290290
}
291291
request.AsrFullTextConfigure = &asrFullTextConfigureInfo
@@ -527,7 +527,7 @@ func resourceTencentCloudMpsAiRecognitionTemplateUpdate(d *schema.ResourceData,
527527
if v, ok := dMap["switch"]; ok {
528528
asrFullTextConfigureInfo.Switch = helper.String(v.(string))
529529
}
530-
if v, _ := dMap["subtitle_format"]; v != "" {
530+
if v := dMap["subtitle_format"]; v != "" {
531531
asrFullTextConfigureInfo.SubtitleFormat = helper.String(v.(string))
532532
}
533533
request.AsrFullTextConfigure = &asrFullTextConfigureInfo

0 commit comments

Comments
 (0)