feat: improve workflow log

This commit is contained in:
Fu Diwei
2025-06-09 10:06:41 +08:00
parent d58109f4be
commit bd26dfecb8
6 changed files with 11 additions and 9 deletions

View File

@@ -33,7 +33,8 @@ func NewDeployNode(node *domain.WorkflowNode) *deployNode {
}
func (n *deployNode) Process(ctx context.Context) error {
n.logger.Info("ready to deploy certificate ...")
nodeCfg := n.node.GetConfigForDeploy()
n.logger.Info("ready to deploy certificate ...", slog.Any("config", nodeCfg))
// 查询上次执行结果
lastOutput, err := n.outputRepo.GetByNodeId(ctx, n.node.Id)