Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
summary: log failure message to terminal (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuJuncen authored Apr 20, 2021
1 parent 4243361 commit ac3a0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/summary/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (tc *logCollector) Summary(name string) {
for unitName, reason := range tc.failureReasons {
logFields = append(logFields, zap.String("unit-name", unitName), zap.Error(reason))
}
log.Info(name+" failed summary", logFields...)
tc.log(name+" failed summary", logFields...)
return
}
totalCost := time.Duration(0)
Expand Down

0 comments on commit ac3a0e7

Please sign in to comment.