diff --git a/src/internal/packager/helm/chart.go b/src/internal/packager/helm/chart.go index 059de978ab..3e45465944 100644 --- a/src/internal/packager/helm/chart.go +++ b/src/internal/packager/helm/chart.go @@ -126,18 +126,6 @@ func (h *Helm) InstallOrUpgradeChart(ctx context.Context) (types.ConnectStrings, return nil, "", fmt.Errorf("unable to build the resource list: %w", err) } - // healthChecks := []object.ObjMetadata{} - // for _, resource := range resourceList { - // gvk := resource.Object.GetObjectKind().GroupVersionKind() - // healthChecks = append(healthChecks, object.ObjMetadata{ - // GroupKind: schema.GroupKind{ - // Group: gvk.Group, - // Kind: gvk.Kind, - // }, - // Name: resource.Name, - // Namespace: resource.Namespace, - // }) - // } healthChecks := []v1alpha1.NamespacedObjectKindReference{} for _, resource := range resourceList { apiVersion, kind := resource.Object.GetObjectKind().GroupVersionKind().ToAPIVersionAndKind() @@ -152,10 +140,6 @@ func (h *Helm) InstallOrUpgradeChart(ctx context.Context) (types.ConnectStrings, healthChecksCtx, cancel := context.WithTimeout(ctx, h.timeout) defer cancel() spinner.Updatef("Running health checks") - fmt.Println("this is the health checks", healthChecks) - // if err := healthchecks.Assess(healthChecksCtx, time.Second, h.cluster, time.Minute*5, healthChecks...); err != nil { - // return nil, "", err - // } if err := healthchecks.Run(healthChecksCtx, h.cluster.Watcher, healthChecks); err != nil { return nil, "", err }