Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cristianrgreco
Copy link
Collaborator

@cristianrgreco cristianrgreco commented Jul 23, 2025

Resolves #734

The target types for memory and nanoCpus are int64. When specifying decimal values, the scaling operation results in a number with decimal places, which the Docker engine API rejects with a 400. Let's round the values up in these cases.

Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 22ca73a
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/688106b13a80200008ba713a
😎 Deploy Preview https://deploy-preview-1088--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cristianrgreco cristianrgreco added bug Something isn't working patch Backward compatible bug fix labels Jul 23, 2025
@cristianrgreco cristianrgreco changed the title Resource quota returns 400 when contains decimals Fix resource quota being rejected when contains decimals Jul 23, 2025
@cristianrgreco cristianrgreco merged commit 40829ec into main Aug 1, 2025
316 checks passed
@cristianrgreco cristianrgreco deleted the 734 branch August 1, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch Backward compatible bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Memory Quota Interpretation and JSON Unmarshal Error in Testcontainers Resource Limit Setting
1 participant