Expose the credential type through the API
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
cbb2134f0e
commit
4668461603
3 changed files with 19 additions and 9 deletions
|
|
@ -412,6 +412,7 @@ func (r *Runner) ListCredentials(ctx context.Context) ([]params.GithubCredential
|
|||
BaseURL: val.BaseEndpoint(),
|
||||
APIBaseURL: val.APIEndpoint(),
|
||||
UploadBaseURL: val.UploadEndpoint(),
|
||||
AuthType: params.GithubAuthType(val.AuthType),
|
||||
})
|
||||
}
|
||||
return ret, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue