diff --git a/pkg/addons/volumes.go b/pkg/addons/volumes.go index deaa525..38825dc 100644 --- a/pkg/addons/volumes.go +++ b/pkg/addons/volumes.go @@ -212,7 +212,6 @@ func (v *PersistentVolumeClaim) SetOptions(metric *api.MetricAddon) { // AssembleVolumes for a pvc func (v *PersistentVolumeClaim) AssembleVolumes() []specs.VolumeSpec { - fmt.Println("ADDING PVC HERE") volume := corev1.Volume{ Name: v.name, VolumeSource: corev1.VolumeSource{ diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 415d3e0..a86db07 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -85,12 +85,12 @@ func GetMetric(metric *api.Metric, set *api.MetricSet) (Metric, error) { // Register addons, meaning adding the spec but not instantiating yet (or should we?) for _, a := range metric.Addons { - fmt.Printf("Attempting to add addon %s", a.Name) + logger.Infof("Attempting to add addon %s", a.Name) addon, err := addons.GetAddon(&a) if err != nil { return nil, fmt.Errorf("Addon %s for metric %s did not validate", a.Name, metric.Name) } - fmt.Printf("Registering addon %s", a.Name) + logger.Infof("Registering addon %s", a.Name) m.RegisterAddon(&addon) }