forked from forgejo/forgejo
Vendor Update: go-gitlab v0.22.1 -> v0.31.0 (#11136)
* vendor update: go-gitlab to v0.31.0 * migrate client init to v0.31.0 * refactor
This commit is contained in:
parent
5c092eb0ef
commit
82dbb34c9c
256 changed files with 36039 additions and 12965 deletions
2
vendor/github.com/xanzy/go-gitlab/validate.go
generated
vendored
2
vendor/github.com/xanzy/go-gitlab/validate.go
generated
vendored
|
@ -19,7 +19,7 @@ type LintResult struct {
|
|||
// Lint validates .gitlab-ci.yml content.
|
||||
//
|
||||
// GitLab API docs: https://docs.gitlab.com/ce/api/lint.html
|
||||
func (s *ValidateService) Lint(content string, options ...OptionFunc) (*LintResult, *Response, error) {
|
||||
func (s *ValidateService) Lint(content string, options ...RequestOptionFunc) (*LintResult, *Response, error) {
|
||||
var opts struct {
|
||||
Content string `url:"content,omitempty" json:"content,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue