mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
fix variable name
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user