fix(app): Use Correct log format

This commit is contained in:
Richard Palethorpe
2025-04-09 13:30:56 +01:00
parent 5111738b3b
commit 70282535d4

View File

@@ -134,7 +134,7 @@ func (a *App) Create(pool *state.AgentPool) func(c *fiber.Ctx) error {
return errorJSONMessage(c, err.Error())
}
xlog.Info("Agent configuration: %+v\n", config)
xlog.Info("Agent configuration\n", "config", config)
if config.Name == "" {
return errorJSONMessage(c, "Name is required")