Skip to content

Commit 7470098

Browse files
dangraclaude
andcommitted
Change MachineRootfs size unit from megabytes to gigabytes
Rename SizeMB to SizeGB and size_mb to size_gb. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bedb796 commit 7470098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func (mpr *MachinePersistRootfs) UnmarshalJSON(raw []byte) error {
416416

417417
type MachineRootfs struct {
418418
Persist MachinePersistRootfs `toml:"persist,omitempty" json:"persist,omitempty" enums:"never,always,restart"`
419-
SizeMB uint64 `toml:"size_mb,omitempty" json:"size_mb,omitempty"`
419+
SizeGB uint64 `toml:"size_gb,omitempty" json:"size_gb,omitempty"`
420420
}
421421

422422
// @description The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.

0 commit comments

Comments
 (0)