diff options
author | Karthik Nayak <knayak@gitlab.com> | 2022-08-15 10:56:14 +0300 |
---|---|---|
committer | Karthik Nayak <knayak@gitlab.com> | 2022-08-21 21:58:45 +0300 |
commit | 5bf402b74635412777e5cd308414a35d5c2c34f9 (patch) | |
tree | 78ed063788fa68afe4b85e4c3f1de6e7d3863db7 /internal | |
parent | 20ca1904446185977817bd7d010f50431cc64466 (diff) |
gitlab: Use the newly created 'client' package
Instead of using the external 'client' package from 'gitlab-shell', use
the internally created one 'internal/gitlab/client'. This drops the
dependency on 'gitlab-shell'.
Run 'go mod tidy' to remove the dependency on 'gitlab-shell' from our
'go.{mod, sum}' files.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/gitlab/http_client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gitlab/http_client.go b/internal/gitlab/http_client.go index 3d3ed9f0e..2f02a3d3f 100644 --- a/internal/gitlab/http_client.go +++ b/internal/gitlab/http_client.go @@ -16,9 +16,9 @@ import ( "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/config" gitalycfgprom "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/v15/internal/gitlab/client" "gitlab.com/gitlab-org/gitaly/v15/internal/prometheus/metrics" "gitlab.com/gitlab-org/gitaly/v15/internal/version" - "gitlab.com/gitlab-org/gitlab-shell/v14/client" ) var glIDRegex = regexp.MustCompile(`\A[0-9]+\z`) |