From 35f37cd1f776a6db0377e2ac88b28bfe9c9e0d2c Mon Sep 17 00:00:00 2001 From: Mehrad Dadar Date: Fri, 25 Feb 2022 00:00:36 +0330 Subject: [PATCH] fix lint Signed-off-by: Mehrad Dadar --- pkg/compose/compose.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/compose.go b/pkg/compose/compose.go index c0501fb42..36376e273 100644 --- a/pkg/compose/compose.go +++ b/pkg/compose/compose.go @@ -109,7 +109,7 @@ func (s *composeService) projectFromName(containers Containers, projectName stri Image: c.Image, Labels: c.Labels, } - sc.Scale += 1 + sc.Scale++ set[sc.Name] = sc }