aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2025-01-08 14:10:43 +0900
committerGitHub <noreply@github.com>2025-01-08 13:10:43 +0800
commit124079871b4350eb1d2e6f9c12267b97be1ae5f8 (patch)
tree92914d3147a3964d8ba465272b5c6fe4bc5d48a2 /services
parent386c1ed908dd7291a19fa0185d325f7810ca0b57 (diff)
downloadgitea-124079871b4350eb1d2e6f9c12267b97be1ae5f8.tar.gz
gitea-124079871b4350eb1d2e6f9c12267b97be1ae5f8.zip
Convert github.com/xanzy/go-gitlab into gitlab.com/gitlab-org/api/client-go (#33126)
Fix #32985
Diffstat (limited to 'services')
-rw-r--r--services/migrations/gitlab.go2
-rw-r--r--services/migrations/gitlab_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/services/migrations/gitlab.go b/services/migrations/gitlab.go
index 295bc7c29f..07d5040b5b 100644
--- a/services/migrations/gitlab.go
+++ b/services/migrations/gitlab.go
@@ -21,7 +21,7 @@ import (
base "code.gitea.io/gitea/modules/migration"
"code.gitea.io/gitea/modules/structs"
- "github.com/xanzy/go-gitlab"
+ gitlab "gitlab.com/gitlab-org/api/client-go"
)
var (
diff --git a/services/migrations/gitlab_test.go b/services/migrations/gitlab_test.go
index eccfc4def1..556fe771c5 100644
--- a/services/migrations/gitlab_test.go
+++ b/services/migrations/gitlab_test.go
@@ -17,7 +17,7 @@ import (
base "code.gitea.io/gitea/modules/migration"
"github.com/stretchr/testify/assert"
- "github.com/xanzy/go-gitlab"
+ gitlab "gitlab.com/gitlab-org/api/client-go"
)
func TestGitlabDownloadRepo(t *testing.T) {