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

Unified Diff: monitoring/go/datahopper/main.go

Issue 777413002: Add new tests to presubmit, fix errors (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: rebase Created 6 years 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/buildbot_ingest/bycommit.go ('k') | monitoring/go/prober/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: monitoring/go/datahopper/main.go
diff --git a/monitoring/go/datahopper/main.go b/monitoring/go/datahopper/main.go
index 8577aabf55e3845dd6e936cc662e4255904a6642..96ddebd91d4f238229ca44126fd09da2ec3cf718 100644
--- a/monitoring/go/datahopper/main.go
+++ b/monitoring/go/datahopper/main.go
@@ -39,7 +39,15 @@ func main() {
*influxDbName = metadata.MustGet(INFLUXDB_NAME_METADATA_KEY)
*influxDbPassword = metadata.MustGet(INFLUXDB_PASSWORD_METADATA_KEY)
}
- dbClient, err := influxdb.New(&influxdb.ClientConfig{*influxDbHost, *influxDbName, *influxDbPassword, *influxDbDatabase, nil, false, false})
+ dbClient, err := influxdb.New(&influxdb.ClientConfig{
+ Host: *influxDbHost,
+ Username: *influxDbName,
+ Password: *influxDbPassword,
+ Database: *influxDbDatabase,
+ HttpClient: nil,
+ IsSecure: false,
+ IsUDP: false,
+ })
if err != nil {
glog.Fatalf("Failed to initialize InfluxDB client: %s", err)
}
« no previous file with comments | « monitoring/go/buildbot_ingest/bycommit.go ('k') | monitoring/go/prober/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698