As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit cee449e5 authored by Nick Thomas's avatar Nick Thomas
Browse files

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
parents accd5e5a e6482b87
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment