diff options
author | 6543 <6543@obermui.de> | 2020-09-06 17:37:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 11:37:53 -0400 |
commit | 0c6a8027315e704011bacb7bfd8158fe36470cda (patch) | |
tree | 8d73f8fa429ee0e8b2ddb1e6609be8460f0dd01d /modules | |
parent | 0ed5e103fef5986fcbbb7c208cc015727f4a79dd (diff) | |
download | gitea-0c6a8027315e704011bacb7bfd8158fe36470cda.tar.gz gitea-0c6a8027315e704011bacb7bfd8158fe36470cda.zip |
[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701)
* update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0
* vendor
* adapt changes
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/migrations/gitlab.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/migrations/gitlab.go b/modules/migrations/gitlab.go index 3cdcef3afa..7e7d88b702 100644 --- a/modules/migrations/gitlab.go +++ b/modules/migrations/gitlab.go @@ -234,10 +234,10 @@ func (g *GitlabDownloader) GetLabels() ([]*base.Label, error) { var perPage = 100 var labels = make([]*base.Label, 0, perPage) for i := 1; ; i++ { - ls, _, err := g.client.Labels.ListLabels(g.repoID, &gitlab.ListLabelsOptions{ + ls, _, err := g.client.Labels.ListLabels(g.repoID, &gitlab.ListLabelsOptions{ListOptions: gitlab.ListOptions{ Page: i, PerPage: perPage, - }, nil, gitlab.WithContext(g.ctx)) + }}, nil, gitlab.WithContext(g.ctx)) if err != nil { return nil, err } |