Skip to content

Commit e85d352

Browse files
committed
Shorten name
1 parent 924cec7 commit e85d352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/axonopscassandra_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (r *AxonOpsCassandraReconciler) Reconcile(ctx context.Context, req ctrl.Req
9191
}
9292

9393
if axonopsCassCluster.Spec.AxonOps.Server.CassandraMetricsEnabled {
94-
statefulSetList = append(statefulSetList, "ca-metrics-"+thisClusterName)
94+
statefulSetList = append(statefulSetList, "ca-mt-"+thisClusterName)
9595
}
9696

9797
// The object is being deleted
@@ -278,7 +278,7 @@ func (r *AxonOpsCassandraReconciler) Reconcile(ctx context.Context, req ctrl.Req
278278
if axonopsCassCluster.Spec.AxonOps.Server.CassandraMetricsEnabled {
279279
var cassandraMetricsStatefulSetCurrent *appsv1.StatefulSet
280280
var cassandraMetricsStatefulSet *appsv1.StatefulSet
281-
cassandraMetricsStatefulSetCurrent, err = r.getSts("ca-metrics-"+thisClusterName, thisClusterNamespace)
281+
cassandraMetricsStatefulSetCurrent, err = r.getSts("ca-mt-"+thisClusterName, thisClusterNamespace)
282282

283283
if client.IgnoreNotFound(err) != nil {
284284
return ctrl.Result{}, err

0 commit comments

Comments
 (0)