From f3438f7709bf66831677b718ae627c98d2232fde Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Fri, 3 Jan 2025 13:36:13 +0100 Subject: [PATCH] Migrate to gitlab.com/gitlab-org/api/client-go Signed-off-by: Erik Godding Boye --- go.mod | 2 +- go.sum | 4 ++-- internal/notifier/gitlab.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 4495dd980..2a8e2a015 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,7 @@ require ( github.com/slok/go-http-metrics v0.13.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.10.0 - github.com/xanzy/go-gitlab v0.115.0 + gitlab.com/gitlab-org/api/client-go v0.116.0 golang.org/x/oauth2 v0.24.0 golang.org/x/text v0.21.0 google.golang.org/api v0.211.0 diff --git a/go.sum b/go.sum index 79fd0ce68..44baecd26 100644 --- a/go.sum +++ b/go.sum @@ -411,13 +411,13 @@ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6Kllzaw github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= -github.com/xanzy/go-gitlab v0.115.0 h1:6DmtItNcVe+At/liXSgfE/DZNZrGfalQmBRmOcJjOn8= -github.com/xanzy/go-gitlab v0.115.0/go.mod h1:5XCDtM7AM6WMKmfDdOiEpyRWUqui2iS9ILfvCZ2gJ5M= github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ= github.com/xlab/treeprint v1.2.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +gitlab.com/gitlab-org/api/client-go v0.116.0 h1:Dy534gtZPMrnm3fAcmQRMadrcoUyFO4FQ4rXlSAdHAw= +gitlab.com/gitlab-org/api/client-go v0.116.0/go.mod h1:B29OfnZklmaoiR7uHANh9jTyfWEgmXvZLVEnosw2Dx0= go.einride.tech/aip v0.68.0 h1:4seM66oLzTpz50u4K1zlJyOXQ3tCzcJN7I22tKkjipw= go.einride.tech/aip v0.68.0/go.mod h1:7y9FF8VtPWqpxuAxl0KQWqaULxW4zFIesD6zF5RIHHg= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= diff --git a/internal/notifier/gitlab.go b/internal/notifier/gitlab.go index 9e976bd66..08a6c8597 100644 --- a/internal/notifier/gitlab.go +++ b/internal/notifier/gitlab.go @@ -24,7 +24,7 @@ import ( "fmt" "net/http" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" eventv1 "github.com/fluxcd/pkg/apis/event/v1beta1" "github.com/fluxcd/pkg/apis/meta"