From 60ffa9649c8492ba92ad24f2ad3dcf12a7927908 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 14 Oct 2019 12:28:27 +0200 Subject: [PATCH] src/backup/manifest.rs: fix property names (use '-' instead of '_') --- src/backup/manifest.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backup/manifest.rs b/src/backup/manifest.rs index 80bd7661..7b9972a2 100644 --- a/src/backup/manifest.rs +++ b/src/backup/manifest.rs @@ -80,9 +80,9 @@ impl TryFrom for BackupManifest { use crate::tools::{required_string_property, required_integer_property, required_array_property}; proxmox::tools::try_block!({ - let backup_type = required_string_property(&data, "backup_type")?; - let backup_id = required_string_property(&data, "backup_id")?; - let backup_time = required_integer_property(&data, "backup_time")?; + let backup_type = required_string_property(&data, "backup-type")?; + let backup_id = required_string_property(&data, "backup-id")?; + let backup_time = required_integer_property(&data, "backup-time")?; let snapshot = BackupDir::new(backup_type, backup_id, backup_time);