Merge pull request #1733 from mwhudson/disk-annotations
fix some of the annotations on Disk
This commit is contained in:
commit
5a4686fd01
|
@ -626,15 +626,15 @@ class Dasd:
|
|||
@fsobj("disk")
|
||||
class Disk(_Device):
|
||||
ptable: Optional[str] = attributes.ptable()
|
||||
serial: str = None
|
||||
wwn: str = None
|
||||
multipath: str = None
|
||||
path: str = None
|
||||
serial: Optional[str] = None
|
||||
wwn: Optional[str] = None
|
||||
multipath: Optional[str] = None
|
||||
path: Optional[str] = None
|
||||
wipe: Optional[str] = None
|
||||
preserve: str = False
|
||||
preserve: bool = False
|
||||
name: str = ""
|
||||
grub_device: bool = False
|
||||
device_id: str = None
|
||||
device_id: Optional[str] = None
|
||||
|
||||
_info: StorageInfo = attributes.for_api()
|
||||
_has_in_use_partition: bool = attributes.for_api(default=False)
|
||||
|
|
Loading…
Reference in New Issue