Skip to content

Commit b9a802b

Browse files
committed
Fix previous commit issue.
1 parent 16d157c commit b9a802b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

main.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func runCommand(wg *sync.WaitGroup, resultCollector *ResultCollector, commandInd
5757
for stdoutScanner.Scan() {
5858
txt := cleanFeedbackLine(stdoutScanner.Text())
5959
outLines = append(outLines, txt)
60-
logger.Infolnf("COMMAND %d STDOUT: %s", commandIndex, txt)
60+
logger.Tracelnf("COMMAND %d STDOUT: %s", commandIndex, txt)
6161
}
6262
}()
6363

@@ -99,7 +99,7 @@ func runPhase(setup *setup, phaseName string, phase *nodeData) {
9999

100100
logger.Infolnf("Running step %s", phaseName)
101101
for ind, c := range cmds {
102-
logger.Infolnf(strings.TrimSpace(fmt.Sprintf(`INDEX %d = %s`, ind, execCommandToDisplayString(c))))
102+
logger.Tracelnf(strings.TrimSpace(fmt.Sprintf(`INDEX %d = %s`, ind, execCommandToDisplayString(c))))
103103

104104
var wgToUse *sync.WaitGroup = nil
105105
if phase.RunParallel {
@@ -138,11 +138,6 @@ func main() {
138138
logger.Fatallnf(err.Error())
139139
}
140140

141-
for _, phase := range setup.Phases {
142-
fmt.Println(phase.Name)
143-
}
144-
return
145-
146141
for _, phase := range setup.Phases {
147142
runPhase(setup, phase.Name, phase.Data)
148143
}

0 commit comments

Comments
 (0)