Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not enough arguments in call to git.Commits.GetCommitDiff #7

Closed
theodotos opened this issue Jun 9, 2018 · 1 comment
Closed

not enough arguments in call to git.Commits.GetCommitDiff #7

theodotos opened this issue Jun 9, 2018 · 1 comment

Comments

@theodotos
Copy link

Hi, Trying to build maulabbot and getting this:

$ go get github.com/tulir/maulabbot
# github.com/tulir/maulabbot
../../go/src/github.com/tulir/maulabbot/commands.go:160:44: not enough arguments in call to git.Commits.GetCommitDiff
	have (string, string)
	want (interface {}, string, *"github.com/xanzy/go-gitlab".GetCommitDiffOptions, ..."github.com/xanzy/go-gitlab".OptionFunc)
../../go/src/github.com/tulir/maulabbot/commands.go:311:14: unknown field 'ListOptions' in struct literal of type "github.com/xanzy/go-gitlab".ListIssueNotesOptions

I am a complete go illiterate so I may be missing something pretty obvious here.

@tulir
Copy link
Member

tulir commented Jun 20, 2018

I haven't updated the bot in a while and didn't use any dependency version locking, so it's broken on the latest version. I'm planning on migrating this to use maubot soon, so I'll at least fix the worst problems then.

@tulir tulir closed this as completed in f35aa05 Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants