mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-19 14:24:26 +01:00
Agent sends -1 PID when invoking OCI hooks. OCI state struct is initialized before obtaining PID, so this PR moves `oci_state` call down, right after we get the id. Fixes: #1458 Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>