mirror of
https://github.com/restic/restic.git
synced 2026-09-25 05:20:30 +00:00
server: rename LoadJSONEncrypted -> LoadJSONUnpacked
This commit is contained in:
@@ -191,7 +191,7 @@ func TestLoadJSONEncrypted(t *testing.T) {
|
||||
var sn2 restic.Snapshot
|
||||
|
||||
// restore
|
||||
err = server.LoadJSONEncrypted(backend.Snapshot, id, &sn2)
|
||||
err = server.LoadJSONUnpacked(backend.Snapshot, id, &sn2)
|
||||
OK(t, err)
|
||||
|
||||
Equals(t, sn.Hostname, sn2.Hostname)
|
||||
|
||||
Reference in New Issue
Block a user