You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tried to create a gitlab client for an enterprise instance and then get a repo, i have an error saying that the gitlab
client is not able to consume my repo endpoint.
The issue seems to be an error on how the gitlab client uses `domain (reported here and how it handles base URL.
configure your gitlab enterprise endpoint and repo
execute the test and you will an error like the client doesn't support handling requests for this domain
scenario 2
use the following gist which is similar to scenario 1 but commenting SupportedDomain call
configure your gitlab enterprise endpoint and repo
execute the test and you will an error like unsupported protocol scheme ""
In this example, i could see how the underlying client baseurl is not properly created as shown in the image below
Expected behavior
I can use gitlab client for getting repos from gitlab enterprise instances
Additional context
Go version: go version go1.19.1 darwin/arm64
Git provider: gitlab
The text was updated successfully, but these errors were encountered:
Describe the bug
When tried to create a gitlab client for an enterprise instance and then get a repo, i have an error saying that the gitlab
client is not able to consume my repo endpoint.
The issue seems to be an error on how the gitlab client uses `domain (reported here and how it handles base URL.
To Reproduce
scenario 1
the client doesn't support handling requests for this domain
scenario 2
SupportedDomain
callunsupported protocol scheme ""
In this example, i could see how the underlying client baseurl is not properly created as shown in the image below
Expected behavior
I can use gitlab client for getting repos from gitlab enterprise instances
Additional context
The text was updated successfully, but these errors were encountered: