|
@@ -64,7 +64,7 @@ func (aj *AllocationJSON) BuildFromAllocation(a *Allocation) {
|
|
|
aj.Window = a.Window
|
|
aj.Window = a.Window
|
|
|
aj.Start = a.Start.UTC().Format(time.RFC3339)
|
|
aj.Start = a.Start.UTC().Format(time.RFC3339)
|
|
|
aj.End = a.End.UTC().Format(time.RFC3339)
|
|
aj.End = a.End.UTC().Format(time.RFC3339)
|
|
|
- aj.Minutes = formatFloat64ForResponse(a.Minutes())
|
|
|
|
|
|
|
+ aj.Minutes = formatFloat64ForResponse(a.Minutes())
|
|
|
aj.CPUCores = formatFloat64ForResponse(a.CPUCores())
|
|
aj.CPUCores = formatFloat64ForResponse(a.CPUCores())
|
|
|
aj.CPUCoreRequestAverage = formatFloat64ForResponse(a.CPUCoreRequestAverage)
|
|
aj.CPUCoreRequestAverage = formatFloat64ForResponse(a.CPUCoreRequestAverage)
|
|
|
aj.CPUCoreUsageAverage = formatFloat64ForResponse(a.CPUCoreUsageAverage)
|
|
aj.CPUCoreUsageAverage = formatFloat64ForResponse(a.CPUCoreUsageAverage)
|