Skip to content

Commit cdfe8f3

Browse files
authored
feat(tke): [120562753]accept FailedOperation.NodePoolQueryFailed erro… (#2940)
* feat(tke): [120562753]accept FailedOperation.NodePoolQueryFailed error when deleting * add changelog
1 parent aaeb905 commit cdfe8f3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changelog/2940.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_kubernetes_node_pool: compatible `NodePoolQueryFailed` error when deleted node pool
3+
```

tencentcloud/services/tke/resource_tc_kubernetes_node_pool_extension.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,9 @@ func resourceTencentCloudKubernetesNodePoolDeletePostHandleResponse0(ctx context
522522
if errCode == "InternalError.UnexpectedInternal" {
523523
return nil
524524
}
525+
if errCode == "FailedOperation.NodePoolQueryFailed" {
526+
return nil
527+
}
525528
return tccommon.RetryError(errRet, tccommon.InternalError)
526529
}
527530
if has {

0 commit comments

Comments
 (0)