Skip to content

Commit 47072f5

Browse files
author
mikatong
committed
update
1 parent 3ae0c15 commit 47072f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tencentcloud/services/mongodb/resource_tc_mongodb_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ func resourceTencentCloudMongodbInstanceRead(d *schema.ResourceData, meta interf
466466
_ = d.Set("vport", instance.Vport)
467467
_ = d.Set("create_time", instance.CreateTime)
468468
_ = d.Set("node_num", *instance.SecondaryNum+1)
469-
_ = d.Set("maintenance_start", *instance.MaintenanceStart)
470-
_ = d.Set("maintenance_end", *instance.MaintenanceEnd)
469+
_ = d.Set("maintenance_start", (*instance.MaintenanceStart)[:5])
470+
_ = d.Set("maintenance_end", (*instance.MaintenanceEnd)[:5])
471471

472472
replicateSets, err := mongodbService.DescribeDBInstanceNodeProperty(ctx, instanceId)
473473
if err != nil {

0 commit comments

Comments
 (0)