Browse Source

Merge pull request #1142 from kubecost/bolt/summary-no-clone

NewSummaryAllocation Improvements
Matt Bolt 4 years ago
parent
commit
d42ce91b0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/kubecost/summaryallocation.go

+ 1 - 1
pkg/kubecost/summaryallocation.go

@@ -49,7 +49,7 @@ func NewSummaryAllocation(alloc *Allocation, reconcile, reconcileNetwork bool) *
 
 	sa := &SummaryAllocation{
 		Name:                   alloc.Name,
-		Properties:             alloc.Properties.Clone(),
+		Properties:             alloc.Properties,
 		Start:                  alloc.Start,
 		End:                    alloc.End,
 		CPUCoreRequestAverage:  alloc.CPUCoreRequestAverage,