Skip to content

Commit

Permalink
fix(manifest): resources count when mapping resources to resources gr…
Browse files Browse the repository at this point in the history
…oup (#140)

Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian authored Mar 27, 2024
1 parent 5aabcda commit 5d4de1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/manifest/v2beta2/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d4de1d

Please sign in to comment.