api2: DataStoreListItem add maintenance info

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
Hannes Laimer authored and Thomas Lamprecht committed 2022-04-27 19:21:19 +02:00
1 parent dd09432a90
commit e022d13cf3
2 files changed
+9

No files matched your search

+1
View File
@@ -1030,6 +1030,7 @@ pub fn get_datastore_list(
list.push(DataStoreListItem {
store: store.clone(),
comment: data["comment"].as_str().map(String::from),
maintenance: data["maintenance-mode"].as_str().map(String::from),
});
}
}