From cb688b5fd441a8c923f1380517d3ed184fedfb64 Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Fri, 7 Apr 2023 10:19:06 +0200 Subject: [PATCH] fix gocyclo lint error which currently block Compose CI Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- pkg/compose/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/watch.go b/pkg/compose/watch.go index a6a5f1ecf..1712f8390 100644 --- a/pkg/compose/watch.go +++ b/pkg/compose/watch.go @@ -75,7 +75,7 @@ type fileMapping struct { ContainerPath string } -func (s *composeService) Watch(ctx context.Context, project *types.Project, services []string, _ api.WatchOptions) error { +func (s *composeService) Watch(ctx context.Context, project *types.Project, services []string, _ api.WatchOptions) error { //nolint: gocyclo needRebuild := make(chan fileMapping) needSync := make(chan fileMapping)