Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Wiedler <iwiedler@gitlab.com>2020-04-29 20:03:29 +0300
committerIgor Wiedler <iwiedler@gitlab.com>2020-04-29 20:03:29 +0300
commit245060539bcca5e6d52f38bee1c9d23a516911d3 (patch)
tree98ee5b05c787b7157798579c582efa84d4f2d2e7 /internal/source/gitlab
parentddabe70ff60e44bc0b072138f019a6d6b0b411c7 (diff)
introduce separate config flag internal-gitlab-server
Diffstat (limited to 'internal/source/gitlab')
-rw-r--r--internal/source/gitlab/client/client.go2
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")