Skip to content

Commit e58bfa6

Browse files
committed
junk
1 parent 1e048ac commit e58bfa6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/stratis_cli/_actions/_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
pools = mo_query_builder(pool_spec)
8787

8888
blockdev_spec = ET.fromstring(SPECS[BLOCKDEV_INTERFACE]) # nosec B314
89+
Dev = make_class("Dev", blockdev_spec, timeout)
8990
MODev = managed_object_class("MODev", blockdev_spec)
9091
devs = mo_query_builder(blockdev_spec)
9192

src/stratis_cli/_actions/_physical.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def list_devices(namespace: Namespace): # pylint: disable=too-many-locals
4646
for that pool. Otherwise, list all devices for all pools.
4747
"""
4848
# pylint: disable=import-outside-toplevel
49-
from ._data import MODev, MOPool, ObjectManager, devs, pools
49+
from ._data import Dev, MODev, MOPool, ObjectManager, devs, pools
5050

5151
# This method is invoked as the default for "stratis blockdev";
5252
# the namespace may not have a pool_name field.
@@ -131,6 +131,9 @@ def tier_str(value):
131131
size(modev),
132132
tier_str(modev.Tier()),
133133
format_uuid(modev.Uuid()),
134+
Dev.Properties.InitializationTime.Get(
135+
get_object("/org/storage/stratis3/1")
136+
),
134137
]
135138
for modev in modevs
136139
]

0 commit comments

Comments
 (0)