Skip to content

Commit b9cfcbe

Browse files
committed
feat: support mysql ssl
1 parent ebed5eb commit b9cfcbe

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tencentcloud/services/cdb/resource_tc_mysql_instance.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,11 +757,11 @@ func resourceTencentCloudMysqlInstanceCreate(d *schema.ResourceData, meta interf
757757
}
758758
}
759759

760-
// ssl
760+
// ssl
761761
if err := mysqlInstanceSSLUpdate(ctx, d, meta); err != nil {
762762
log.Printf("[CRITAL]%s update mysql ssl fail, reason:%s\n ", logId, err.Error())
763763
return err
764-
}
764+
}
765765

766766
return resourceTencentCloudMysqlInstanceRead(d, meta)
767767
}
@@ -1302,7 +1302,6 @@ func mysqlAllInstanceRoleUpdate(ctx context.Context, d *schema.ResourceData, met
13021302
}
13031303
}
13041304

1305-
13061305
if d.HasChange("tags") {
13071306

13081307
oldValue, newValue := d.GetChange("tags")

tencentcloud/services/cdb/service_tencentcloud_mysql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3343,4 +3343,4 @@ func (me *MysqlService) DescribeMysqlSslById(ctx context.Context, instanceId str
33433343

33443344
ssl = response.Response
33453345
return
3346-
}
3346+
}

0 commit comments

Comments
 (0)