Skip to content

Commit 74e8356

Browse files
committed
Add FsSizeGB field to MachineRootfs
1 parent ef01c86 commit 74e8356

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

machine_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,9 @@ func (mpr *MachinePersistRootfs) UnmarshalJSON(raw []byte) error {
415415
}
416416

417417
type MachineRootfs struct {
418-
Persist MachinePersistRootfs `toml:"persist,omitempty" json:"persist,omitempty" enums:"never,always,restart"`
419-
SizeGB uint64 `toml:"size_gb,omitempty" json:"size_gb,omitempty"`
418+
Persist MachinePersistRootfs `toml:"persist,omitempty" json:"persist,omitempty" enums:"never,always,restart"`
419+
SizeGB uint64 `toml:"size_gb,omitempty" json:"size_gb,omitempty"`
420+
FsSizeGB uint64 `toml:"fs_size_gb,omitempty" json:"fs_size_gb,omitempty"`
420421
}
421422

422423
// @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)