Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: api.Repository is a big struct, which spams the log (#2913)

Yilong Li06898e7699e3
diff --git a/server/webhook.go b/server/webhook.go
index fab72382b7..2667fb6abc 100644
--- a/server/webhook.go
+++ b/server/webhook.go
@@ -58,7 +58,6 @@ func (s *Server) registerWebhookRoutes(g *echo.Group) {
log.Debug("Empty handle repo list. Ignore this push event.")
return c.String(http.StatusOK, "OK")
}
- log.Debug("Process push event in repos", zap.Any("repos", repositoryList))
baseVCSPushEvent, err := pushEvent.ToVCS()
if err != nil {
@@ -112,7 +111,6 @@ func (s *Server) registerWebhookRoutes(g *echo.Group) {
log.Debug("Empty handle repo list. Ignore this push event.")
return c.String(http.StatusOK, "OK")
}
- log.Debug("Process push event in repos", zap.Any("repos", repositoryList))
baseVCSPushEvent := pushEvent.ToVCS()