From 6e07548d9078505ca2945f09d11729b14abcc907 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Wed, 28 Mar 2018 10:59:33 +0200 Subject: storage: filesystem/dotgit, fix typo in return param Signed-off-by: Javi Fontan --- storage/filesystem/internal/dotgit/dotgit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/filesystem') diff --git a/storage/filesystem/internal/dotgit/dotgit.go b/storage/filesystem/internal/dotgit/dotgit.go index 60d122f..6f0f1a5 100644 --- a/storage/filesystem/internal/dotgit/dotgit.go +++ b/storage/filesystem/internal/dotgit/dotgit.go @@ -375,7 +375,7 @@ func (d *DotGit) findPackedRefsInFile(f billy.File) ([]*plumbing.Reference, erro return refs, s.Err() } -func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, error error) { +func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, err error) { f, err := d.fs.Open(packedRefsPath) if err != nil { if os.IsNotExist(err) { -- cgit