mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
7cd062d7be
The `all` argument was introduced by commitf557996401specifically for use by cAdvisor (see [1]), but there were no test cases added, so it was later broken by5ee0648bfbwhich started incrementing numFound unconditionally. Fix this (by not checking numFound in case all is true), and add a simple test case to avoid future regressions. [1] https://github.com/google/cadvisor/pull/1476 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>