Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/services/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func ResourceContainerUpdate(ctx context.Context, d *schema.ResourceData, m inte
}

if d.HasChanges("max_concurrency") {
req.MaxConcurrency = scw.Uint32Ptr(uint32(d.Get("max_concurrency").(int)))
req.MaxConcurrency = scw.Uint32Ptr(uint32(d.Get("max_concurrency").(int))) //nolint:staticcheck
}

if d.HasChanges("protocol") {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/container/helpers_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func setCreateContainerRequest(d *schema.ResourceData, region scw.Region) (*cont
}

if maxConcurrency, ok := d.GetOk("max_concurrency"); ok {
req.MaxConcurrency = scw.Uint32Ptr(uint32(maxConcurrency.(int)))
req.MaxConcurrency = scw.Uint32Ptr(uint32(maxConcurrency.(int))) //nolint:staticcheck
}

if sandbox, ok := d.GetOk("sandbox"); ok {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/mnq/helpers_mnq_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func NewSQSClient(httpClient *http.Client, region string, endpoint string, acces
return sqs.New(s), nil
}

func NATSClientWithRegion( //nolint:ireturn
func NATSClientWithRegion( //nolint:ireturn,nolintlint
d *schema.ResourceData,
m interface{},
) (nats.JetStreamContext, scw.Region, error) {
Expand Down
Loading