diff --git a/internal/cri/server/sandbox_status.go b/internal/cri/server/sandbox_status.go index b0c1f728f..0f4da8a31 100644 --- a/internal/cri/server/sandbox_status.go +++ b/internal/cri/server/sandbox_status.go @@ -134,11 +134,7 @@ func toCRISandboxStatus(meta sandboxstore.Metadata, status string, createdAt tim }, Linux: &runtime.LinuxPodSandboxStatus{ Namespaces: &runtime.Namespace{ - Options: &runtime.NamespaceOption{ - Network: nsOpts.GetNetwork(), - Pid: nsOpts.GetPid(), - Ipc: nsOpts.GetIpc(), - }, + Options: nsOpts, }, }, Labels: meta.Config.GetLabels(),