chore: turn cn comment to en for common space (#376)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user