chore: turn cn comment to en for common space (#376)

This commit is contained in:
tecvan
2025-07-31 12:42:03 +08:00
committed by GitHub
parent f7d73cd391
commit a1f3a9aead
40 changed files with 390 additions and 390 deletions

View File

@@ -144,7 +144,7 @@ func CreateMySQLWhiteList(mysqlInstanceID, ts string) (string, error) {
ProjectName: volcengine.String(projectName),
}
// 复制代码运行示例请自行打印API返回值。
// Copy the code to run the example, please print the API return value yourself.
resp, err := svc.CreateAllowList(createAllowListInput)
if err != nil {
return "", err
@@ -164,7 +164,7 @@ func AssociateMySQLWhiteList(mysqlInstanceID, whitelistID string) error {
InstanceIds: volcengine.StringSlice([]string{mysqlInstanceID}),
}
// 复制代码运行示例请自行打印API返回值。
// Copy the code to run the example, please print the API return value yourself.
_, err := svc.AssociateAllowList(associateAllowListInput)
if err != nil {
return err

View File

@@ -250,7 +250,7 @@ func CheckSafeGroupStatus(sgID string) {
SecurityGroupId: volcengine.String(sgID),
}
// 复制代码运行示例请自行打印API返回值。
// Copy the code to run the example, please print the API return value yourself.
resp, err := svc.DescribeSecurityGroupAttributes(describeSecurityGroupAttributesInput)
if err != nil {
fmt.Printf("[SafeGroup] will retry get safe group = %s failed, err= %s\n", sgID, err.Error())

View File

@@ -165,7 +165,7 @@ func CreateRocketMQAccessKey(instanceID string) (string, string, error) {
InstanceId: volcengine.String(instanceID),
}
// 复制代码运行示例请自行打印API返回值。
// Copy the code to run the example, please print the API return value yourself.
_, err = svc.CreateAccessKey(createAccessKeyInput)
if err != nil {
return "", "", err
@@ -245,7 +245,7 @@ func CreateRocketMQTopic(ak, instanceID string) error {
TopicName: volcengine.String(topicName),
}
// 复制代码运行示例请自行打印API返回值。
// Copy the code to run the example, please print the API return value yourself.
_, err = svc.CreateTopic(createTopicInput)
if err != nil {
return err