Add scaleset commands
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
7e1a83c79a
commit
7174e030e2
26 changed files with 3313 additions and 8 deletions
|
|
@ -452,6 +452,11 @@ func Client(ctx context.Context, entity params.GithubEntity) (common.GithubClien
|
|||
return nil, errors.Wrap(err, "fetching http client")
|
||||
}
|
||||
|
||||
slog.InfoContext(
|
||||
ctx, "creating client with",
|
||||
"entity", entity.String(), "base_url", entity.Credentials.APIBaseURL,
|
||||
"upload_url", entity.Credentials.UploadBaseURL)
|
||||
|
||||
ghClient, err := github.NewClient(httpClient).WithEnterpriseURLs(
|
||||
entity.Credentials.APIBaseURL, entity.Credentials.UploadBaseURL)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue