Skip to content

Commit

Permalink
provider logging
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Troyer <[email protected]>
  • Loading branch information
dtroyer-salad committed Nov 29, 2023
1 parent e15a641 commit 4a7573f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ func (p *SaladCloudProvider) NotifyPods(ctx context.Context, notifierCallback fu
func (p *SaladCloudProvider) CreatePod(ctx context.Context, pod *corev1.Pod) error {
ctx, span := trace.StartSpan(ctx, "CreatePod")
defer span.End()
p.logger.Debugf("CreatePod: ", pod.Name)
p.logger.Infof("CreatePod: %s", pod.Name)
createContainerObject := p.createContainersObject(pod)
p.logger.Debugf(" createContainerObject: %+v", createContainerObject)
createContainerGroup := p.createContainerGroup(createContainerObject, pod)
p.logger.Debugf(" createContainerGroup: %+v", createContainerGroup[0])

_, r, err := p.apiClient.
ContainerGroupsAPI.CreateContainerGroup(
Expand Down

0 comments on commit 4a7573f

Please sign in to comment.