Rename variables

This commit is contained in:
Alexander Neumann committed 2015-05-09 13:47:21 +02:00
1 parent 7ec674f3e8
commit d9b5832034
18 files changed
+144 -144

No files matched your search

+2 -2
View File
@@ -50,9 +50,9 @@ func NewSnapshot(paths []string) (*Snapshot, error) {
return sn, nil
}
func LoadSnapshot(s *repo.Repository, id backend.ID) (*Snapshot, error) {
func LoadSnapshot(repo *repo.Repository, id backend.ID) (*Snapshot, error) {
sn := &Snapshot{id: id}
err := s.LoadJSONUnpacked(backend.Snapshot, id, sn)
err := repo.LoadJSONUnpacked(backend.Snapshot, id, sn)
if err != nil {
return nil, err
}