
Previously, PluginInfo was called with task options as the primary value, resulting in opts.BinaryName being omitted. Consequently, the containerd-shim-runc-v2 fell back to the system's runc binary in the PATH rather than the explicitly specified one. This change inverts the option fallback by preferring runtime options over task options, ensuring the correct binary is used for the PluginInfo request. Closes: https://github.com/containerd/containerd/issues/11169 Signed-off-by: Jose Fernandez <josef@netflix.com> Reviewed-by: Erikson Tung <etung@netflix.com>