Skip to content

Commit bd9f9d0

Browse files
committed
max_concurrent_requests
1 parent 2f0ef61 commit bd9f9d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: civo/loadbalancer/resource_loadbalancer.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,10 @@ func resourceLoadBalancerCreate(ctx context.Context, d *schema.ResourceData, m i
274274
conf.ClusterID = v.(string)
275275
}
276276

277-
//if v, ok := d.GetOk("max_concurrent_requests"); ok {
278-
// conf.MaxConcurrentRequests = v.(int)
279-
//}
277+
if v, ok := d.GetOk("max_concurrent_requests"); ok {
278+
num := v.(int)
279+
conf.MaxConcurrentRequests = &num
280+
}
280281

281282
// Set backend configurations if provided
282283
if backendSet {

0 commit comments

Comments
 (0)