moby/daemon/stats
Sebastiaan van Stijn 09191c0936
daemon/stats: fix notRunningErr / notFoundErr detected as unused (false positive)
Also looks like a false positive, but given that these were basically
testing for the `errdefs.Conflict` and `errdefs.NotFound` interfaces, I
replaced these with those;

    daemon/stats/collector.go:154:6: type `notRunningErr` is unused (unused)
    type notRunningErr interface {
         ^
    daemon/stats/collector.go:159:6: type `notFoundErr` is unused (unused)
    type notFoundErr interface {
         ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-10 13:03:34 +02:00
..
collector.go daemon/stats: fix notRunningErr / notFoundErr detected as unused (false positive) 2021-06-10 13:03:34 +02:00
collector_unix.go daemon/stats: use const for clockTicksPerSecond 2020-07-08 14:22:04 +02:00
collector_windows.go daemon/stats: use const for clockTicksPerSecond 2020-07-08 14:22:04 +02:00