Skip to content

Commit 2981bb8

Browse files
committed
implement ListPodSandboxMetrics
Signed-off-by: Akhil Mohan <[email protected]>
1 parent 6b04c9d commit 2981bb8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

internal/cri/server/list_pod_sandbox_metrics.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@ import (
2525
)
2626

2727
func (c *criService) ListPodSandboxMetrics(context.Context, *runtime.ListPodSandboxMetricsRequest) (*runtime.ListPodSandboxMetricsResponse, error) {
28-
return nil, status.Errorf(codes.Unimplemented, "method ListPodSandboxMetrics not implemented")
28+
sandboxList := c.sandboxStore.List()
29+
metricsList := c.sandboxStore.
30+
31+
return &runtime.ListPodSandboxMetricsResponse{
32+
PodMetrics:
33+
}, nil
2934
}

0 commit comments

Comments
 (0)