mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 16:45:15 +03:00
refactor: add agent name in logger
This commit is contained in:
@@ -65,7 +65,7 @@ func (a *AgentService) RegisterAgentConn(ctx context.Context) error {
|
||||
if err = a.settings.InsertAgentID(data.AgentID); err != nil {
|
||||
return fmt.Errorf("save agent ID: %w", err)
|
||||
}
|
||||
a.log.Info().Str("AgentID", data.AgentID).Msg("agent registration end")
|
||||
a.log.Info().Str("agentID", data.AgentID).Msg("agent registration end")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user