Skip to content

Commit

Permalink
Remove premature telemetry reference
Browse files Browse the repository at this point in the history
  • Loading branch information
olim7t committed Sep 12, 2024
1 parent 851e145 commit 6acd801
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/telemetry/cassandra_agent/cassandra_agent_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package cassandra_agent
import (
"context"
"path/filepath"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
"time"

"github.com/adutra/goalesce"
Expand Down Expand Up @@ -162,9 +161,6 @@ func (c Configurator) ReconcileTelemetryAgentConfig(dc *cassdcapi.CassandraDatac
Namespace: c.Kluster.Namespace,
}
desiredCm.SetLabels(labels.CleanedUpByLabels(KlKey))
if err := controllerutil.SetControllerReference(dc, desiredCm, c.RemoteClient.Scheme()); err != nil {
return result.Error(err)
}

recRes := reconciliation.ReconcileObject(c.Ctx, c.RemoteClient, c.RequeueDelay, *desiredCm)
switch {
Expand Down

0 comments on commit 6acd801

Please sign in to comment.