catar api: cleanup parameter names

This commit is contained in:
Dietmar Maurer
2019-03-03 09:48:32 +01:00
parent 421c9ba1d9
commit e77a02ed87
2 changed files with 15 additions and 15 deletions

View File

@ -39,9 +39,9 @@ fn backup_directory<P: AsRef<Path>>(
let mut param = json!({
"archive-name": archive_name,
"type": "host",
"id": &tools::nodename(),
"time": backup_time.timestamp(),
"backup-type": "host",
"backup-id": &tools::nodename(),
"backup-time": backup_time.timestamp(),
});
if let Some(size) = chunk_size {