Skip to content

Commit

Permalink
fix datasource read timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterp committed Nov 20, 2024
1 parent 54fcbc8 commit a361bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/sos_bucket_policy/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (d *DataSourceSOSBucketPolicy) Read(ctx context.Context, req datasource.Rea
}

// Set timeout.
timeout, diags := plan.Timeouts.Create(ctx, config.DefaultTimeout)
timeout, diags := plan.Timeouts.Read(ctx, config.DefaultTimeout)
resp.Diagnostics.Append(diags...)
if resp.Diagnostics.HasError() {
return
Expand Down

0 comments on commit a361bc4

Please sign in to comment.