diff --git a/internal/controller/lightrunjavaagent_controller.go b/internal/controller/lightrunjavaagent_controller.go index 4255cd7..476f667 100644 --- a/internal/controller/lightrunjavaagent_controller.go +++ b/internal/controller/lightrunjavaagent_controller.go @@ -138,7 +138,7 @@ func (r *LightrunJavaAgentReconciler) Reconcile(ctx context.Context, req ctrl.Re for i, container := range originalDeployment.Spec.Template.Spec.Containers { for _, targetContainer := range lightrunJavaAgent.Spec.ContainerSelector { if targetContainer == container.Name { - r.unpatchJavaToolEnv(originalDeployment.Annotations, &originalDeployment.Spec.Template.Spec.Containers[i]) // FIXME: add error to the func? + r.unpatchJavaToolEnv(originalDeployment.Annotations, &originalDeployment.Spec.Template.Spec.Containers[i]) } }