feat(provider): Added additional logging
This commit is contained in:
parent
1d8d725fc3
commit
5ee04cd131
1 changed files with 3 additions and 1 deletions
|
|
@ -79,8 +79,8 @@ type edgeConnectProvider struct {
|
|||
|
||||
// CreateInstance creates a new compute instance in the provider.
|
||||
func (a *edgeConnectProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error) {
|
||||
log.Printf("Executing CreateInstance with %v\n", bootstrapParams)
|
||||
log.Printf("Executing CreateInstance with RepoURL %v\n", bootstrapParams.RepoURL)
|
||||
log.Printf("Executing CreateInstance with ExtraSpecs %s\n", bootstrapParams.ExtraSpecs)
|
||||
|
||||
instancename := fmt.Sprintf("garm-%v-%v", bootstrapParams.PoolID[:8], strings.ToLower(bootstrapParams.Name))
|
||||
|
||||
|
|
@ -91,6 +91,8 @@ func (a *edgeConnectProvider) CreateInstance(ctx context.Context, bootstrapParam
|
|||
|
||||
podSpec := spec.GetPodSpec(gitHubScopeDetails, bootstrapParams)
|
||||
|
||||
log.Printf("Executing CreateInstance with PodSpec %v\n", &podSpec)
|
||||
|
||||
deployment := appsv1.Deployment{
|
||||
TypeMeta: metav1.TypeMeta{
|
||||
Kind: "Deployment",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue