Skip to content

Commit adb6475

Browse files
committed
Updating README (#4)
1 parent 055bce5 commit adb6475

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,7 @@ func (r exampleResource) Create(ctx context.Context, req resource.CreateRequest,
127127

128128
defaultCreateTimeout := 20 * time.Minutes
129129

130-
createTimeout, diags := timeouts.Create(ctx, data.Timeouts, defaultCreateTimeout)
131-
resp.Diagnostics.Append(diags...)
132-
if resp.Diagnostics.HasError() {
133-
return
134-
}
130+
createTimeout := timeouts.Create(ctx, data.Timeouts, defaultCreateTimeout)
135131

136132
ctx, cancel := context.WithTimeout(ctx, createTimeout)
137133
defer cancel()

0 commit comments

Comments
 (0)