Add missing fields to ContainerStats#StatsEq
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
This commit is contained in:
parent
84ef5301ee
commit
4824925f07
@ -951,6 +951,15 @@ func (a *ContainerStats) StatsEq(b *ContainerStats) bool {
|
||||
if !reflect.DeepEqual(a.Filesystem, b.Filesystem) {
|
||||
return false
|
||||
}
|
||||
if !reflect.DeepEqual(a.TaskStats, b.TaskStats) {
|
||||
return false
|
||||
}
|
||||
if !reflect.DeepEqual(a.Accelerators, b.Accelerators) {
|
||||
return false
|
||||
}
|
||||
if !reflect.DeepEqual(a.CustomMetrics, b.CustomMetrics) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user