2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 18:15:20 +00:00

Fix style issue

This commit is contained in:
Alexander Neumann 2015-07-21 21:24:06 +02:00
parent 99dae57b4f
commit 1ac72b8813

View File

@ -23,8 +23,8 @@ type file struct {
func newFile(repo *repository.Repository, node *restic.Node) (*file, error) { func newFile(repo *repository.Repository, node *restic.Node) (*file, error) {
sizes := make([]uint32, len(node.Content)) sizes := make([]uint32, len(node.Content))
for i, blobId := range node.Content { for i, blobID := range node.Content {
length, err := repo.Index().LookupSize(blobId) length, err := repo.Index().LookupSize(blobID)
if err != nil { if err != nil {
return nil, err return nil, err
} }