Skip to content

Commit 1945973

Browse files
authored
Make type field in lsblk optional (#3633)
1 parent 9dd9232 commit 1945973

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)