diff options
Diffstat (limited to 'cmd/gitaly-git2go/conflicts.go')
-rw-r--r-- | cmd/gitaly-git2go/conflicts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly-git2go/conflicts.go b/cmd/gitaly-git2go/conflicts.go index 1e2fbb4e0..954483cad 100644 --- a/cmd/gitaly-git2go/conflicts.go +++ b/cmd/gitaly-git2go/conflicts.go @@ -32,7 +32,7 @@ func (cmd *conflictsSubcommand) Run(_ context.Context, decoder *gob.Decoder, enc return encoder.Encode(res) } -func (conflictsSubcommand) conflicts(request git2go.ConflictsCommand) git2go.ConflictsResult { +func (*conflictsSubcommand) conflicts(request git2go.ConflictsCommand) git2go.ConflictsResult { repo, err := git2goutil.OpenRepository(request.Repository) if err != nil { return conflictError(codes.Internal, fmt.Errorf("could not open repository: %w", err).Error()) |