Skip to content

Commit 2e20204

Browse files
committed
refactor: Apply PR suggestions
1 parent f70db32 commit 2e20204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/common/cleanup/handle_timeout.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ type resourceInterface interface {
121121
// DeleteOnCreateTimeoutInvalidUpdate returns an error if the `delete_on_create_timeout` attribute has been updated to true/false
122122
// This use case differs slightly from the behavior of TPF customplanmodifier.CreateOnlyBoolWithDefault:
123123
// - from a given value (true/false) --> `null`.
124-
// This TPF implementation keeps the state value (UseStateForUnknown behavior).
125-
// This will set the state value to null (Optional-only attribute).
124+
// While the TPF implementation keeps the state value (UseStateForUnknown behavior),
125+
// The SDKv2 implementation will set the state value to null (Optional-only attribute).
126126
func DeleteOnCreateTimeoutInvalidUpdate(resource resourceInterface) string {
127127
if !resource.HasChange("delete_on_create_timeout") {
128128
return ""

0 commit comments

Comments
 (0)