39 lines
1.6 KiB
Diff
39 lines
1.6 KiB
Diff
|
|
From e7778ed261d2550ea6e2179b856d0ee22241b858 Mon Sep 17 00:00:00 2001
|
||
|
|
From: zhongtao <zhongtao17@huawei.com>
|
||
|
|
Date: Mon, 14 Oct 2024 20:42:58 +0800
|
||
|
|
Subject: [PATCH 149/149] remove meaningless code
|
||
|
|
|
||
|
|
Signed-off-by: zhongtao <zhongtao17@huawei.com>
|
||
|
|
---
|
||
|
|
src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc | 1 -
|
||
|
|
src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h | 1 -
|
||
|
|
2 files changed, 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc b/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc
|
||
|
|
index 56c89c1e..23b620c3 100644
|
||
|
|
--- a/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc
|
||
|
|
+++ b/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc
|
||
|
|
@@ -24,7 +24,6 @@ CRIRuntimeServiceImpl::CRIRuntimeServiceImpl(const std::string &podSandboxImage,
|
||
|
|
, m_containerManager(new ContainerManagerService(cb))
|
||
|
|
, m_podSandboxManager(new PodSandboxManagerService(podSandboxImage, cb, pluginManager, enablePodEvents))
|
||
|
|
, m_runtimeManager(new RuntimeManagerService(cb, pluginManager))
|
||
|
|
- , m_enablePodEvents(enablePodEvents)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
diff --git a/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h b/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h
|
||
|
|
index 33539a32..1d399a85 100644
|
||
|
|
--- a/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h
|
||
|
|
+++ b/src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h
|
||
|
|
@@ -104,7 +104,6 @@ protected:
|
||
|
|
private:
|
||
|
|
std::string m_podSandboxImage;
|
||
|
|
std::shared_ptr<Network::PluginManager> m_pluginManager { nullptr };
|
||
|
|
- [[maybe_unused]] bool m_enablePodEvents;
|
||
|
|
};
|
||
|
|
} // namespace CRIV1
|
||
|
|
#endif // DAEMON_ENTRY_CRI_V1_CRI_RUNTIME_SERVICE_IMPL_H
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|