refactor: defer close connection or file

This commit is contained in:
2026-05-05 14:34:00 +03:00
parent ea5cca09f5
commit 7a53c1dc9f
19 changed files with 859 additions and 52 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
func toCreateAgentModel(agent domain.RegisterAgentRequest) domainHub.CreateAgentModel {
return domainHub.CreateAgentModel{
AgentID: agent.AgentId,
AgentID: agent.AgentID,
AgentName: agent.AgentName,
Architecture: agent.Host.Arch,
System: agent.Host.System,