Skip to content

Commit 441450f

Browse files
committed
Make type field in lsblk optional
1 parent 9d0e1e5 commit 441450f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archinstall/lib/models/device_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ class LsblkInfo(BaseModel):
16151615
fsver: str | None
16161616
fsavail: int | None
16171617
fsuse_percentage: str | None = Field(alias='fsuse%')
1618-
type: str
1618+
type: str | None # may be None for strange behavior with md devices
16191619
mountpoint: Path | None
16201620
mountpoints: list[Path]
16211621
fsroots: list[Path]

0 commit comments

Comments
 (0)