updated code as per the review comments

This commit is contained in:
MohitKatare-protean
2025-04-01 12:31:43 +05:30
parent 2fe39a2c0a
commit 450f13cf34
4 changed files with 45 additions and 92 deletions

View File

@@ -246,8 +246,6 @@ func (h *stdHandler) initSteps(ctx context.Context, mgr PluginManager, cfg *Conf
s, err = newValidateSchemaStep(h.schemaValidator)
case "addRoute":
s, err = newAddRouteStep(h.router)
case "broadcast":
s = &broadcastStep{}
default:
if customStep, exists := steps[step]; exists {
s = customStep