fix variable name

This commit is contained in:
Joel Wetzell
2025-11-25 07:10:45 -06:00
parent 7497f6d589
commit 5e2c3da092

View File

@@ -14,9 +14,9 @@ type DebugExpr struct {
Program *vm.Program Program *vm.Program
} }
func (dl *DebugExpr) Process(ctx context.Context, payload any) (any, error) { func (de *DebugExpr) Process(ctx context.Context, payload any) (any, error) {
output, err := expr.Run(dl.Program, payload) output, err := expr.Run(de.Program, payload)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@@ -24,8 +24,8 @@ func (dl *DebugExpr) Process(ctx context.Context, payload any) (any, error) {
return output, nil return output, nil
} }
func (dl *DebugExpr) Type() string { func (de *DebugExpr) Type() string {
return dl.config.Type return de.config.Type
} }
func init() { func init() {