formats/v2: fix mount description for source

The mount has a `source` not `device`. It is just called device
internally because for now it is always a device.
This commit is contained in:
Christian Kellner 2021-07-20 17:50:02 +00:00
parent ae1296e33a
commit 4d73760dcd

View file

@ -77,7 +77,7 @@ def describe(manifest: Manifest, *, with_id=False) -> Dict:
desc = {
"name": mnt.name,
"type": mnt.info.name,
"device": mnt.device.name,
"source": mnt.device.name,
"target": mnt.target
}