Niko Kovacevic пре 5 година
родитељ
комит
a4a9f727c3
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      pkg/kubecost/allocation.go

+ 2 - 0
pkg/kubecost/allocation.go

@@ -47,6 +47,8 @@ const ShareNone = "__none__"
 // Allocation is a unit of resource allocation and cost for a given window
 // Allocation is a unit of resource allocation and cost for a given window
 // of time and for a given kubernetes construct with its associated set of
 // of time and for a given kubernetes construct with its associated set of
 // properties.
 // properties.
+// TODO:CLEANUP consider dropping name in favor of just Properties and an
+// Assets-style key() function for AllocationSet.
 type Allocation struct {
 type Allocation struct {
 	Name                   string     `json:"name"`
 	Name                   string     `json:"name"`
 	Properties             Properties `json:"properties,omitempty"`
 	Properties             Properties `json:"properties,omitempty"`