Skip to content

Commit 456f2e5

Browse files
committed
refact(tke): fmt code
1 parent 1e96705 commit 456f2e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tencentcloud/services/tke/resource_tc_kubernetes_scale_worker_extension.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func resourceTencentCloudKubernetesScaleWorkerCreateOnStart(ctx context.Context)
378378

379379
dMap := make(map[string]interface{}, 5)
380380
//mount_target, docker_graph_path, data_disk, extra_args, desired_pod_num
381-
iAdvancedParas := []string{"mount_target", "docker_graph_path", "extra_args", "data_disk", "desired_pod_num", "gpu_args"}
381+
iAdvancedParas := []string{"mount_target", "docker_graph_path", "extra_args", "data_disk", "desired_pod_num", "gpu_args", "taints"}
382382
for _, k := range iAdvancedParas {
383383
if v, ok := d.GetOk(k); ok {
384384
dMap[k] = v
@@ -631,6 +631,8 @@ func resourceTencentCloudKubernetesScaleWorkerReadPostFillRequest1(ctx context.C
631631
meta := tccommon.ProviderMetaFromContext(ctx)
632632
logId := tccommon.GetLogId(ctx)
633633

634+
req.InstanceIds = WorkersInstanceIds
635+
634636
idSplit := strings.Split(d.Id(), tccommon.FILED_SP)
635637
if len(idSplit) != 2 {
636638
return fmt.Errorf("id is broken,%s", d.Id())

0 commit comments

Comments
 (0)