mirror of
https://github.com/containerd/containerd.git
synced 2026-11-07 22:06:45 +00:00
Commit05513284e7exposed the "rootfs" and "no-pivot" flags for the "containers" command, but it accidentally removed them for "run" since package-level variables are initialized before package-level init functions in golang. Hoisting these flags to a package imported by both commands solves the problem. Signed-off-by: Felix Abecassis <fabecassis@nvidia.com> (cherry picked from commit5dd22a20af) Signed-off-by: Stephen Day <stephen.day@getcruise.com>