diff options
| author | Nick Thomas <nick@gitlab.com> | 2021-04-09 15:52:18 +0100 |
|---|---|---|
| committer | Nick Thomas <nick@gitlab.com> | 2021-04-09 15:52:18 +0100 |
| commit | 4af9308b126b282d9ca44c46dbb5ad01e98e0180 (patch) | |
| tree | c6405e1bb6d26c332bac83665fe5696ec4629a34 /internal/gitlabnet | |
| parent | 88f94337bb87c0cc51f6badf7a4ff1826f25efaa (diff) | |
| download | gitlab-shell-4af9308b126b282d9ca44c46dbb5ad01e98e0180.tar.gz | |
Fix thread-safety issues in gitlab-shell518-fix-thread-safety
Diffstat (limited to 'internal/gitlabnet')
| -rw-r--r-- | internal/gitlabnet/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gitlabnet/client.go b/internal/gitlabnet/client.go index 18eac67..c0b72c4 100644 --- a/internal/gitlabnet/client.go +++ b/internal/gitlabnet/client.go @@ -15,7 +15,7 @@ var ( ) func GetClient(config *config.Config) (*client.GitlabNetClient, error) { - httpClient := config.GetHttpClient() + httpClient := config.HttpClient() if httpClient == nil { return nil, fmt.Errorf("Unsupported protocol") |
