Skip to content

Commit 291b2d7

Browse files
feat: Disable default hotplug memory allocation
1 parent 1fe0edd commit 291b2d7

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 37
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-c67940016c5e7471d8ead470553cfd7c4159993b91b75e19a0debd4cdd92f240.yml
3-
openapi_spec_hash: 6f2bc58ceae24136403f4d89ee0b6ed6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-d5ce7bbc5163c13d0ef49a4edc04d3186e7ba7d040726c149a218000faf3c1ce.yml
3+
openapi_spec_hash: cb4fac9f74fdd0a33d554e6630f8547b
44
config_hash: d452c139da1e46a44a68b91e8a40de72

instance.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,8 @@ type InstanceNewParams struct {
458458
// Disk I/O rate limit (e.g., "100MB/s", "500MB/s"). Defaults to proportional share
459459
// based on CPU allocation if configured.
460460
DiskIoBps param.Opt[string] `json:"disk_io_bps,omitzero"`
461-
// Additional memory for hotplug (human-readable format like "3GB", "1G")
461+
// Additional memory for hotplug (human-readable format like "3GB", "1G"). Omit to
462+
// disable hotplug memory.
462463
HotplugSize param.Opt[string] `json:"hotplug_size,omitzero"`
463464
// Writable overlay disk size (human-readable format like "10GB", "50G")
464465
OverlaySize param.Opt[string] `json:"overlay_size,omitzero"`

0 commit comments

Comments
 (0)