Skip to content

Commit

Permalink
max_concurrent_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Nov 28, 2024
1 parent 2f0ef61 commit bd9f9d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions civo/loadbalancer/resource_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,10 @@ func resourceLoadBalancerCreate(ctx context.Context, d *schema.ResourceData, m i
conf.ClusterID = v.(string)
}

//if v, ok := d.GetOk("max_concurrent_requests"); ok {
// conf.MaxConcurrentRequests = v.(int)
//}
if v, ok := d.GetOk("max_concurrent_requests"); ok {
num := v.(int)
conf.MaxConcurrentRequests = &num
}

// Set backend configurations if provided
if backendSet {
Expand Down

0 comments on commit bd9f9d0

Please sign in to comment.