diff --git a/cmd/internal/storage/influxdb/influxdb_test.go b/cmd/internal/storage/influxdb/influxdb_test.go index 9e8a58f943..0e841584b4 100644 --- a/cmd/internal/storage/influxdb/influxdb_test.go +++ b/cmd/internal/storage/influxdb/influxdb_test.go @@ -360,7 +360,7 @@ func createTestStats() (*info.ContainerInfo, *info.ContainerStats) { "2GB": {Usage: 9876, MaxUsage: 5432, Failcnt: 1}, }, ReferencedMemory: 12345, - PerfStats: []info.PerfStat{{Cpu: 1, Name: "cycles", ScalingRatio: 1.5, Value: 4589}}, + PerfStats: []info.PerfStat{{Cpu: 1, PerfValue: info.PerfValue{Name: "cycles", ScalingRatio: 1.5, Value: 4589}}}, Resctrl: info.ResctrlStats{ MemoryBandwidth: []info.MemoryBandwidthStats{ {TotalBytes: 11234, LocalBytes: 4567},