diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-07-21 07:42:41 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-07-21 07:42:41 +0200 |
commit | b3c2564730f67e99ef58f8d4e98283680dc96207 (patch) | |
tree | cae6cb921791d88971eb9441b802b8862897612e /backup | |
parent | 5125eb03724aa38a8ec581c3da88f066d880a993 (diff) | |
download | petrific-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.go | 10 |
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, })) } |