File tree 1 file changed +2
-2
lines changed
tencentcloud/services/cls
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -979,7 +979,7 @@ func resourceTencentCloudClsConfigExtraUpdate(d *schema.ResourceData, meta inter
979
979
request .HostFile = hostFiles [0 ]
980
980
}
981
981
}
982
- if d .HasChange ("container_file" ) {
982
+ if d .HasChange ("container_file" ) || d . HasChange ( "type" ) {
983
983
if v , ok := d .GetOk ("container_file" ); ok {
984
984
containerFiles := make ([]* cls.ContainerFileInfo , 0 , 10 )
985
985
if len (v .([]interface {})) != 1 {
@@ -1040,7 +1040,7 @@ func resourceTencentCloudClsConfigExtraUpdate(d *schema.ResourceData, meta inter
1040
1040
request .ContainerFile = containerFiles [0 ]
1041
1041
}
1042
1042
}
1043
- if d .HasChange ("container_stdout" ) {
1043
+ if d .HasChange ("container_stdout" ) || d . HasChange ( "type" ) {
1044
1044
if v , ok := d .GetOk ("container_stdout" ); ok {
1045
1045
containerStdouts := make ([]* cls.ContainerStdoutInfo , 0 , 10 )
1046
1046
if len (v .([]interface {})) != 1 {
You can’t perform that action at this time.
0 commit comments