diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-01-12 03:21:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 09:21:16 +0100 |
commit | b36854df3772ad4aac682c69ed090c24e1c9dd4f (patch) | |
tree | b7afbd85f2e942bc67e0bc6e86fb197f5d8fc678 /services/migrations | |
parent | 6f231a7980dd22f686c04d86fb79e1885ad31f6a (diff) | |
download | gitea-b36854df3772ad4aac682c69ed090c24e1c9dd4f.tar.gz gitea-b36854df3772ad4aac682c69ed090c24e1c9dd4f.zip |
Update golang deps (#22410)
Note, hashicorp's LRU has been updated to v2 which supports generics but
this was left out as it is a more involved upgrade.
Diffstat (limited to 'services/migrations')
-rw-r--r-- | services/migrations/gitlab.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/migrations/gitlab.go b/services/migrations/gitlab.go index 44e1d70713..8034869a4a 100644 --- a/services/migrations/gitlab.go +++ b/services/migrations/gitlab.go @@ -352,8 +352,10 @@ func (g *GitlabDownloader) GetReleases() ([]*base.Release, error) { releases := make([]*base.Release, 0, perPage) for i := 1; ; i++ { ls, _, err := g.client.Releases.ListReleases(g.repoID, &gitlab.ListReleasesOptions{ - Page: i, - PerPage: perPage, + ListOptions: gitlab.ListOptions{ + Page: i, + PerPage: perPage, + }, }, nil, gitlab.WithContext(g.ctx)) if err != nil { return nil, err |