From 5087d7501308660970aa9e7c12cf5be7a3d9b063 Mon Sep 17 00:00:00 2001
From: jikai <jikai11@huawei.com>
Date: Wed, 12 Jun 2024 15:20:17 +0000
Subject: [PATCH 110/149] add timestamp in PodSandboxStatu response

Signed-off-by: jikai <jikai11@huawei.com>
---
 src/daemon/entry/cri/v1/v1_cri_pod_sandbox_manager_service.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/entry/cri/v1/v1_cri_pod_sandbox_manager_service.cc b/src/daemon/entry/cri/v1/v1_cri_pod_sandbox_manager_service.cc
index fa726e2c..2a458a6d 100644
--- a/src/daemon/entry/cri/v1/v1_cri_pod_sandbox_manager_service.cc
+++ b/src/daemon/entry/cri/v1/v1_cri_pod_sandbox_manager_service.cc
@@ -910,6 +910,7 @@ void PodSandboxManagerService::PodSandboxStatus(const std::string &podSandboxID,
     for (auto &containerStatus : containerStatuses) {
         *(reply->add_containers_statuses()) = *containerStatus;
     }
+    reply->set_timestamp(util_get_now_time_nanos());
     return;
 }
 
-- 
2.25.1

