Просмотр исходного кода

Merge pull request #1198 from kubecost/niko/summary-allocation-set-message

Add Message to a SummaryAllocationSetRange
Niko Kovacevic 4 лет назад
Родитель
Сommit
f916761504
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      pkg/kubecost/summaryallocation.go

+ 1 - 0
pkg/kubecost/summaryallocation.go

@@ -1177,6 +1177,7 @@ type SummaryAllocationSetRange struct {
 	Step                  time.Duration           `json:"step"`
 	Step                  time.Duration           `json:"step"`
 	SummaryAllocationSets []*SummaryAllocationSet `json:"sets"`
 	SummaryAllocationSets []*SummaryAllocationSet `json:"sets"`
 	Window                Window                  `json:"window"`
 	Window                Window                  `json:"window"`
+	Message               string                  `json:"-"`
 }
 }
 
 
 // NewSummaryAllocationSetRange instantiates a new range composed of the given
 // NewSummaryAllocationSetRange instantiates a new range composed of the given