Revert "bug fixes"

This commit is contained in:
shreyvishal
2025-06-25 15:39:06 +05:30
parent 01a6b66ccb
commit c59db0c9d6
12 changed files with 98 additions and 399 deletions

View File

@@ -29,8 +29,6 @@ var handlerProviders = map[handler.Type]Provider{
// It iterates over the module configurations, retrieves appropriate handler providers,
// and registers the handlers with the HTTP multiplexer.
func Register(ctx context.Context, mCfgs []Config, mux *http.ServeMux, mgr handler.PluginManager) error {
mux.Handle("/health", http.HandlerFunc(handler.HealthHandler))
log.Debugf(ctx, "Registering modules with config: %#v", mCfgs)
// Iterate over the handlers in the configuration.
for _, c := range mCfgs {