Skip to content

Commit

Permalink
!2518 remove meaningless code
Browse files Browse the repository at this point in the history
From: @taotao-sauce 
Reviewed-by: @jikai11, @xuxuepeng 
Signed-off-by: @xuxuepeng
  • Loading branch information
openeuler-ci-bot authored and gitee-org committed Oct 15, 2024
2 parents 32d9729 + e7778ed commit 564c150
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down
1 change: 0 additions & 1 deletion src/daemon/entry/cri/v1/v1_cri_runtime_service_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ class CRIRuntimeServiceImpl : public CRIRuntimeService {
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

0 comments on commit 564c150

Please sign in to comment.