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:
parent
99dae57b4f
commit
1ac72b8813
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user