aboutsummaryrefslogtreecommitdiff
path: root/backup
diff options
context:
space:
mode:
Diffstat (limited to 'backup')
-rw-r--r--backup/backup.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/backup/backup.go b/backup/backup.go
index 9c012e0..f578e6f 100644
--- a/backup/backup.go
+++ b/backup/backup.go
@@ -103,13 +103,13 @@ func CreateSnapshot(
store storage.Storage,
tree_id objects.ObjectId,
date time.Time,
- container string,
+ archive string,
comment string,
) (objects.ObjectId, error) {
return storage.SetObject(store, objects.ToRawObject(&objects.Snapshot{
- Tree: tree_id,
- Date: date,
- Container: container,
- Comment: comment,
+ Tree: tree_id,
+ Date: date,
+ Archive: archive,
+ Comment: comment,
}))
}