Because RunPodSandbox and CreateContainer will access metadata without check, pod or container config file without metadata will crash containerd. This patch add checks to handle the issue. Fixes: #1009 Signed-off-by: Hui Zhu <teawater@hyper.sh>
Because RunPodSandbox and CreateContainer will access metadata without check, pod or container config file without metadata will crash containerd. This patch add checks to handle the issue. Fixes: #1009 Signed-off-by: Hui Zhu <teawater@hyper.sh>