@@ -34,7 +34,7 @@ pub enum FetchInfoStatus {
3434/// If the state hash is different from the current one:
3535/// - Return a `FetchInfoStatus::NewState` of the info struct
3636/// - Else return `FetchInfoStatus::SameState`
37- async fn fetch_info_with_state_and_container (
37+ async fn fetch_info_with_state_and_container_tags (
3838 info_endpoint : & Endpoint ,
3939 current_state_hash : Option < & str > ,
4040 current_container_tags_hash : Option < & str > ,
@@ -62,7 +62,7 @@ pub async fn fetch_info_with_state(
6262 info_endpoint : & Endpoint ,
6363 current_state_hash : Option < & str > ,
6464) -> Result < FetchInfoStatus > {
65- fetch_info_with_state_and_container ( info_endpoint, current_state_hash, None ) . await
65+ fetch_info_with_state_and_container_tags ( info_endpoint, current_state_hash, None ) . await
6666}
6767
6868/// Fetch the info endpoint once and return the info.
@@ -253,7 +253,7 @@ impl AgentInfoFetcher {
253253 let current_container_tags_hash = current_info
254254 . as_ref ( )
255255 . and_then ( |info| info. info . container_tags_hash . as_deref ( ) ) ;
256- let res = fetch_info_with_state_and_container (
256+ let res = fetch_info_with_state_and_container_tags (
257257 & self . info_endpoint ,
258258 current_hash,
259259 current_container_tags_hash,
@@ -455,7 +455,7 @@ mod single_threaded_tests {
455455 . await ;
456456 let endpoint = Endpoint :: from_url ( server. url ( "/info" ) . parse ( ) . unwrap ( ) ) ;
457457
458- let info_status = fetch_info_with_state_and_container (
458+ let info_status = fetch_info_with_state_and_container_tags (
459459 & endpoint,
460460 Some ( TEST_INFO_HASH ) ,
461461 Some ( "old-container-hash" ) ,
0 commit comments