mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +08:00
libpod: add a nolint:wastedassign annotation
TODO: figure this out :) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@ -35,7 +35,7 @@ func (c *Container) getPlatformContainerStats(stats *define.ContainerStats, prev
|
||||
// in a new jail
|
||||
if dur, ok := entries["wallclock"]; ok {
|
||||
if previousStats.Duration > dur*1000000000 {
|
||||
previousStats = &define.ContainerStats{}
|
||||
previousStats = &define.ContainerStats{} //nolint:wastedassign // TODO: figure this out.
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user