From 5d4de1d21a70be249e8b7eb760d5b7d9c5e52893 Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Wed, 27 Mar 2024 15:20:49 +0100 Subject: [PATCH] fix(manifest): resources count when mapping resources to resources group (#140) Signed-off-by: Artur Troian --- go/manifest/v2beta2/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/manifest/v2beta2/group.go b/go/manifest/v2beta2/group.go index 0c94d977..09ee3e1c 100644 --- a/go/manifest/v2beta2/group.go +++ b/go/manifest/v2beta2/group.go @@ -21,7 +21,7 @@ func (g Group) GetResourceUnits() dtypes.ResourceUnits { if _, exists := groups[svc.Resources.ID]; !exists { groups[svc.Resources.ID] = &dtypes.ResourceUnit{ Resources: svc.Resources, - Count: 1, + Count: svc.Count, } } else { groups[svc.Resources.ID].Count += svc.Count