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/license.go
generated
vendored
2
vendor/github.com/xanzy/go-gitlab/license.go
generated
vendored
|
@ -78,7 +78,7 @@ type AddLicenseOptions struct {
|
|||
//
|
||||
// GitLab API docs:
|
||||
// https://docs.gitlab.com/ee/api/license.html#add-a-new-license
|
||||
func (s *LicenseService) AddLicense(opt *AddLicenseOptions, options ...OptionFunc) (*License, *Response, error) {
|
||||
func (s *LicenseService) AddLicense(opt *AddLicenseOptions, options ...RequestOptionFunc) (*License, *Response, error) {
|
||||
req, err := s.client.NewRequest("POST", "license", opt, options)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue