Skip to content

Commit 421ee18

Browse files
committed
libpod: add a nolint:wastedassign annotation
TODO: figure this out :) Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 5f582e9 commit 421ee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpod/stats_freebsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (c *Container) getPlatformContainerStats(stats *define.ContainerStats, prev
3535
// in a new jail
3636
if dur, ok := entries["wallclock"]; ok {
3737
if previousStats.Duration > dur*1000000000 {
38-
previousStats = &define.ContainerStats{}
38+
previousStats = &define.ContainerStats{} //nolint:wastedassign // TODO: figure this out.
3939
}
4040
}
4141

0 commit comments

Comments
 (0)