aboutsummaryrefslogtreecommitdiff
path: root/backup
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2017-07-21 07:42:41 +0200
committerLaria Carolin Chabowski <laria@laria.me>2017-07-21 07:42:41 +0200
commitb3c2564730f67e99ef58f8d4e98283680dc96207 (patch)
treecae6cb921791d88971eb9441b802b8862897612e /backup
parent5125eb03724aa38a8ec581c3da88f066d880a993 (diff)
downloadpetrific-b3c2564730f67e99ef58f8d4e98283680dc96207.tar.gz
petrific-b3c2564730f67e99ef58f8d4e98283680dc96207.tar.bz2
petrific-b3c2564730f67e99ef58f8d4e98283680dc96207.zip
Renamed field Container => Archive in snapshots
This is a much better name for what that is
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,
}))
}