diff options
| author | Nick Thomas <nick@gitlab.com> | 2020-05-06 21:26:46 +0000 |
|---|---|---|
| committer | Nick Thomas <nick@gitlab.com> | 2020-05-06 21:26:46 +0000 |
| commit | cee449e5b1e18cfae290d29ebaef0bf90fc596df (patch) | |
| tree | 1feeb7b1a929687488607451660bbf04bff973ec | |
| parent | accd5e5abd03d9f08ca72068e5dafb2df090c7e3 (diff) | |
| parent | e6482b8797cc34a024429f5ce9e75e11a139fd3b (diff) | |
| download | gitlab-shell-cee449e5b1e18cfae290d29ebaef0bf90fc596df.tar.gz | |
Merge branch 'pass-secret-to-client' into 'master'
Ensure we are passing the parsed secret
Closes #458
See merge request gitlab-org/gitlab-shell!381
| -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 923b064..18eac67 100644 --- a/internal/gitlabnet/client.go +++ b/internal/gitlabnet/client.go @@ -21,7 +21,7 @@ func GetClient(config *config.Config) (*client.GitlabNetClient, error) { return nil, fmt.Errorf("Unsupported protocol") } - return client.NewGitlabNetClient(config.HttpSettings.User, config.HttpSettings.Password, config.SecretFilePath, httpClient) + return client.NewGitlabNetClient(config.HttpSettings.User, config.HttpSettings.Password, config.Secret, httpClient) } func ParseJSON(hr *http.Response, response interface{}) error { |
