This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 4bcda6c07b8237be6065ae735b4506fb63efacef Author: Tadayoshi Sato <sato.tadayo...@gmail.com> AuthorDate: Thu Jul 14 17:14:38 2022 +0900 chore(lint): fix unparam --- pkg/controller/integration/monitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/integration/monitor.go b/pkg/controller/integration/monitor.go index e67970306..df8f426f3 100644 --- a/pkg/controller/integration/monitor.go +++ b/pkg/controller/integration/monitor.go @@ -173,7 +173,7 @@ type controller interface { updateReadyCondition(readyPods []corev1.Pod) bool } -func (action *monitorAction) newController(ctx context.Context, env *trait.Environment, integration *v1.Integration) (controller, error) { +func (action *monitorAction) newController(env *trait.Environment, integration *v1.Integration) (controller, error) { var controller controller var obj ctrl.Object switch { @@ -227,7 +227,7 @@ func getUpdatedController(env *trait.Environment, obj ctrl.Object) ctrl.Object { } func (action *monitorAction) updateIntegrationPhaseAndReadyCondition(ctx context.Context, environment *trait.Environment, integration *v1.Integration, pendingPods []corev1.Pod, runningPods []corev1.Pod) error { - controller, err := action.newController(ctx, environment, integration) + controller, err := action.newController(environment, integration) if err != nil { return err }