Skip to content

Commit 066cec8

Browse files
committed
feat(parser): log writer
1 parent be4e3c2 commit 066cec8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

services/tasks/stage_parsers/ansible_result.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ func (p AnsibleResultStageParser) Parse(currentStage *db.TaskStage, output db.Ta
116116

117117
func (p AnsibleResultStageParser) Result() (res map[string]any) {
118118
res = make(map[string]any)
119+
writeLogTaskResultLog(p.state)
120+
119121
p.state.Hosts = make([]db.AnsibleTaskHost, 0)
120122
//res["hosts"] = p.state.Hosts
121123
return
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//go:build !pro
2+
3+
package stage_parsers
4+
5+
func writeLogTaskResultLog(state *AnsibleResultStageParserState) {
6+
7+
}

0 commit comments

Comments
 (0)