From 6a1af44aa07648162f6b1e1b18caab6308549650 Mon Sep 17 00:00:00 2001 From: jamesread Date: Fri, 23 Feb 2024 21:30:35 +0000 Subject: [PATCH] fmt: actionName -> actionTitle --- internal/executor/executor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/executor/executor.go b/internal/executor/executor.go index baf2fc1..f05c9b1 100644 --- a/internal/executor/executor.go +++ b/internal/executor/executor.go @@ -94,7 +94,7 @@ func DefaultExecutor() *Executor { } type listener interface { - OnExecutionStarted(actionName string) + OnExecutionStarted(actionTitle string) OnExecutionFinished(logEntry *InternalLogEntry) } @@ -206,13 +206,13 @@ func stepRequestAction(req *ExecutionRequest) bool { if req.Action == nil { log.WithFields(log.Fields{ "actionTitle": req.ActionTitle, - }).Infof("Action finding") + }).Infof("Action finding by title") req.Action = req.Cfg.FindAction(req.ActionTitle) if req.Action == nil { log.WithFields(log.Fields{ - "actionName": req.ActionTitle, + "actionTitle": req.ActionTitle, }).Warnf("Action requested, but not found") req.logEntry.Stderr = "Action not found: " + req.ActionTitle