]> git.proxmox.com Git - proxmox-backup.git/commitdiff
SnapshotListItem: add comment field also to schema
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Aug 2020 13:24:04 +0000 (15:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Aug 2020 14:24:36 +0000 (16:24 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/types/mod.rs

index de7a5ca0ccd31425388c62d2ea1c4c639bd7938b..d3f200200dc433b6021a1df5d809197d115062d6 100644 (file)
@@ -390,6 +390,10 @@ pub struct GroupListItem {
         "backup-time": {
             schema: BACKUP_TIME_SCHEMA,
         },
+        comment: {
+            schema: SINGLE_LINE_COMMENT_SCHEMA,
+            optional: true,
+        },
         files: {
             items: {
                 schema: BACKUP_ARCHIVE_NAME_SCHEMA