Add more logging

This commit is contained in:
Ettore Di Giacinto
2025-03-20 22:35:55 +01:00
parent 16288c0fc3
commit 86d3596f41
3 changed files with 14 additions and 3 deletions

View File

@@ -184,6 +184,8 @@ func (a *App) UpdateAgentConfig(pool *state.AgentPool) func(c *fiber.Ctx) error
return errorJSONMessage(c, "Error updating agent: "+err.Error())
}
xlog.Info("Updated agent", "name", agentName, "config", fmt.Sprintf("%+v", newConfig))
return statusJSONMessage(c, "ok")
}
}