Skip to content

Commit

Permalink
Update pkg/resources/instance_pool/datasource.go
Browse files Browse the repository at this point in the history
Co-authored-by: Predrag Janosevic <predrag.janosevic@exoscale.com>
  • Loading branch information
tgrondier and kobajagi authored Dec 18, 2024
1 parent 8276747 commit a25424b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/instance_pool/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func dsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.

zone := d.Get(AttrZone).(string)

ctx, cancel := context.WithTimeout(ctx, d.Timeout(schema.TimeoutCreate))
ctx, cancel := context.WithTimeout(ctx, d.Timeout(schema.TimeoutRead))
defer cancel()

defaultClientV3, err := config.GetClientV3(meta)
Expand Down

0 comments on commit a25424b

Please # to comment.