Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: perf/go/ingest/main.go

Issue 659943006: Do not forget to call `defer glog.Flush()` in our applications (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: revert titletool changes Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « monitoring/go/prober/main.go ('k') | perf/go/logserver/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf/go/ingest/main.go
diff --git a/perf/go/ingest/main.go b/perf/go/ingest/main.go
index a8118d63bbafb55add9c72ee99f3d904a28ba4b6..edd136658f0c74b8b96caef0f317d3acf380bef1 100644
--- a/perf/go/ingest/main.go
+++ b/perf/go/ingest/main.go
@@ -143,6 +143,8 @@ func NewIngestionProcess(ts *Timestamps, tsName string, git *gitinfo.GitInfo, ti
func main() {
flag.Parse()
flags.Log()
+ defer glog.Flush()
+
Init()
// Initialize the database. We might not need the oauth dialog if it fails.
« no previous file with comments | « monitoring/go/prober/main.go ('k') | perf/go/logserver/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698