@@ -102,15 +102,16 @@ func toCRISandboxStatus(meta sandboxstore.Metadata, status sandboxstore.Status,
102102
103103// TODO (mikebrow): discuss predefining constants structures for some or all of these field names in CRI
104104type sandboxInfo struct {
105- Pid uint32 `json:"pid"`
106- Status string `json:"processStatus"`
107- NetNSClosed bool `json:"netNamespaceClosed"`
108- Image string `json:"image"`
109- SnapshotKey string `json:"snapshotKey"`
110- Snapshotter string `json:"snapshotter"`
111- Runtime * criconfig.Runtime `json:"runtime"`
112- Config * runtime.PodSandboxConfig `json:"config"`
113- RuntimeSpec * runtimespec.Spec `json:"runtimeSpec"`
105+ Pid uint32 `json:"pid"`
106+ Status string `json:"processStatus"`
107+ NetNSClosed bool `json:"netNamespaceClosed"`
108+ Image string `json:"image"`
109+ SnapshotKey string `json:"snapshotKey"`
110+ Snapshotter string `json:"snapshotter"`
111+ RuntimeHandler string `json:"runtimeHandler"`
112+ Runtime * criconfig.Runtime `json:"runtime"`
113+ Config * runtime.PodSandboxConfig `json:"config"`
114+ RuntimeSpec * runtimespec.Spec `json:"runtimeSpec"`
114115}
115116
116117// toCRISandboxInfo converts internal container object information to CRI sandbox status response info map.
@@ -132,9 +133,10 @@ func toCRISandboxInfo(ctx context.Context, sandbox sandboxstore.Sandbox) (map[st
132133 }
133134
134135 si := & sandboxInfo {
135- Pid : sandbox .Status .Get ().Pid ,
136- Status : string (processStatus ),
137- Config : sandbox .Config ,
136+ Pid : sandbox .Status .Get ().Pid ,
137+ RuntimeHandler : sandbox .RuntimeHandler ,
138+ Status : string (processStatus ),
139+ Config : sandbox .Config ,
138140 }
139141
140142 if si .Status == "" {
0 commit comments