Skip to content

Commit 6f82a67

Browse files
authored
feat: add not found version as a retry internal state (#1478)
* feat:support host_name_style for tke node pool * feat:add not found version as a retry internal state * add changelog
1 parent 1228e7d commit 6f82a67

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/1478.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_scf_function: optimize the retry logic when deleting the scf function
3+
```

tencentcloud/service_tencentcloud_scf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func (me *ScfService) DeleteFunction(ctx context.Context, name, namespace string
345345
}
346346
}
347347

348-
return retryError(errors.WithStack(err), InternalError)
348+
return retryError(errors.WithStack(err), InternalError, "ResourceNotFound.Version")
349349
}
350350
})
351351
}

0 commit comments

Comments
 (0)