From b3c2564730f67e99ef58f8d4e98283680dc96207 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 21 Jul 2017 07:42:41 +0200 Subject: Renamed field Container => Archive in snapshots This is a much better name for what that is --- backup/backup.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'backup') 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, })) } -- cgit v1.2.3-70-g09d2