mirror of
https://github.com/restic/restic.git
synced 2026-11-28 15:26:48 +00:00
server: rename LoadJSONEncrypted -> LoadJSONUnpacked
This commit is contained in:
1 parent
2fb1783885
commit
9b54fd7bdb
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user