Skip to content

Commit

Permalink
fix(reconciler): improve naming (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pothulapati authored Nov 11, 2024
1 parent c98da60 commit 179c802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/dragonfly_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,6 @@ func (r *DragonflyReconciler) SetupWithManager(mgr ctrl.Manager) error {
For(&dfv1alpha1.Dragonfly{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).
Owns(&appsv1.StatefulSet{}).
Owns(&corev1.Service{}).
Named("Dragonfly").
Complete(r)
}
1 change: 1 addition & 0 deletions internal/controller/dragonfly_pod_lifecycle_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func (r *DfPodLifeCycleReconciler) SetupWithManager(mgr ctrl.Manager) error {
return e.Object.GetLabels()[resources.KubernetesAppNameLabelKey] == "dragonfly"
},
}).
Named("DragonflyPodLifecycle").
For(&corev1.Pod{}).
Complete(r)
}

0 comments on commit 179c802

Please sign in to comment.