diff options
author | Igor Wiedler <iwiedler@gitlab.com> | 2020-04-29 20:03:29 +0300 |
---|---|---|
committer | Igor Wiedler <iwiedler@gitlab.com> | 2020-04-29 20:03:29 +0300 |
commit | 245060539bcca5e6d52f38bee1c9d23a516911d3 (patch) | |
tree | 98ee5b05c787b7157798579c582efa84d4f2d2e7 /internal/source/gitlab | |
parent | ddabe70ff60e44bc0b072138f019a6d6b0b411c7 (diff) |
introduce separate config flag internal-gitlab-server
Diffstat (limited to 'internal/source/gitlab')
-rw-r--r-- | internal/source/gitlab/client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/client/client.go b/internal/source/gitlab/client/client.go index afe9da6f..9a5affa2 100644 --- a/internal/source/gitlab/client/client.go +++ b/internal/source/gitlab/client/client.go @@ -27,7 +27,7 @@ type Client struct { } // NewClient initializes and returns new Client baseUrl is -// appConfig.GitLabServer secretKey is appConfig.GitLabAPISecretKey +// appConfig.InternalGitLabServer secretKey is appConfig.GitLabAPISecretKey func NewClient(baseURL string, secretKey []byte, connectionTimeout, jwtTokenExpiry time.Duration) (*Client, error) { if len(baseURL) == 0 || len(secretKey) == 0 { return nil, errors.New("GitLab API URL or API secret has not been provided") |