server: rename LoadJSONEncrypted -> LoadJSONUnpacked

This commit is contained in:
Alexander Neumann committed 2015-05-03 18:56:20 +02:00
1 parent 2fb1783885
commit 9b54fd7bdb
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ func NewSnapshot(paths []string) (*Snapshot, error) {
func LoadSnapshot(s *server.Server, id backend.ID) (*Snapshot, error) {
sn := &Snapshot{id: id}
err := s.LoadJSONEncrypted(backend.Snapshot, id, sn)
err := s.LoadJSONUnpacked(backend.Snapshot, id, sn)
if err != nil {
return nil, err
}