From 723ac1c6c337bf164e4020e62949f51fce8d503b Mon Sep 17 00:00:00 2001 From: Daniil Komarevtsev Date: Thu, 26 Sep 2024 10:26:15 +0000 Subject: [PATCH] --amend --- .../disk_registry/disk_registry_actor_get_agent_node_id.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/blockstore/libs/storage/disk_registry/disk_registry_actor_get_agent_node_id.cpp b/cloud/blockstore/libs/storage/disk_registry/disk_registry_actor_get_agent_node_id.cpp index 3b89b92815c..6281ac1ffa8 100644 --- a/cloud/blockstore/libs/storage/disk_registry/disk_registry_actor_get_agent_node_id.cpp +++ b/cloud/blockstore/libs/storage/disk_registry/disk_registry_actor_get_agent_node_id.cpp @@ -36,7 +36,7 @@ void TDiskRegistryActor::HandleGetAgentNodeId( return; } - auto* info = AgentRegInfo.FindPtr(agent->GetAgentId()); + const auto* info = AgentRegInfo.FindPtr(agent->GetAgentId()); const bool connected = info && info->Connected; response->Record.SetNodeId(agent->GetNodeId());