Skip to content

Commit 7b3920e

Browse files
modify force delete retry
1 parent 1fb65ed commit 7b3920e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tencentcloud/resource_tc_mongodb_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,5 +524,5 @@ func resourceTencentCloudMongodbInstanceDelete(d *schema.ResourceData, meta inte
524524
if !has {
525525
return nil
526526
}
527-
return nil
527+
return fmt.Errorf("[CRITAL]%s mongodb %s fail", logId, "OfflineIsolatedDBInstance")
528528
}

tencentcloud/resource_tc_mongodb_sharding_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,5 +519,5 @@ func resourceMongodbShardingInstanceDelete(d *schema.ResourceData, meta interfac
519519
if !has {
520520
return nil
521521
}
522-
return nil
522+
return fmt.Errorf("[CRITAL]%s mongodb %s fail", logId, "OfflineIsolatedDBInstance")
523523
}

tencentcloud/resource_tc_mongodb_standby_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,5 +569,5 @@ func resourceTencentCloudMongodbStandbyInstanceDelete(d *schema.ResourceData, me
569569
if !has {
570570
return nil
571571
}
572-
return nil
572+
return fmt.Errorf("[CRITAL]%s mongodb %s fail", logId, "OfflineIsolatedDBInstance")
573573
}

0 commit comments

Comments
 (0)