Skip to content

Commit

Permalink
do not use fmt;
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Sep 25, 2023
1 parent 4eb6c28 commit de77700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/addons/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
4 changes: 2 additions & 2 deletions pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit de77700

Please sign in to comment.