@@ -339,16 +339,16 @@ bool libsinsp::container_engine::containerd::resolve(sinsp_threadinfo *tinfo,
339339 return true ;
340340 }
341341
342- if (cache->should_lookup (request.container_id , request.container_type , 0 )) {
342+ if (cache->should_lookup (request.container_id , request.container_type )) {
343343 libsinsp_logger ()->format (sinsp_logger::SEV_DEBUG,
344344 " containerd_async (%s): No existing container info" ,
345345 request.container_id .c_str ());
346346
347347 // give containerd a chance to return metadata for this container
348348 cache->set_lookup_status (request.container_id ,
349349 request.container_type ,
350- 0 ,
351- sinsp_container_lookup::state::STARTED );
350+ sinsp_container_lookup::state::STARTED ,
351+ 0 );
352352 parse_containerd (request, cache);
353353 }
354354 return false ;
@@ -375,7 +375,7 @@ bool libsinsp::container_engine::containerd::resolve(sinsp_threadinfo *tinfo,
375375 container.m_cpu_period = limits.m_cpu_period ;
376376 container.m_cpuset_cpu_count = limits.m_cpuset_cpu_count ;
377377
378- if (container_cache ().should_lookup (container.m_id , CT_CONTAINERD, 0 )) {
378+ if (container_cache ().should_lookup (container.m_id , CT_CONTAINERD)) {
379379 container.m_name = container.m_id ;
380380 container.set_lookup_status (sinsp_container_lookup::state::SUCCESSFUL);
381381 container_cache ().add_container (std::make_shared<sinsp_container_info>(container), tinfo);
0 commit comments