Skip to content

Commit

Permalink
Merge pull request #192 from neiljerram/fix-ci
Browse files Browse the repository at this point in the history
Fix release-v3.2 branch CI
  • Loading branch information
Neil Jerram authored Sep 14, 2018
2 parents 181228f + bf5f83c commit 65aba56
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import:
- package: github.com/kardianos/osext
- package: github.com/mipearson/rfw
- package: github.com/projectcalico/libcalico-go
version: cac4ce6d0f2f1fdcaac2dcbe613374465cfd4953
version: 9137112a7d5a4b735a24dd1165d8fbc7dc3dfed1
subpackages:
- lib/apiconfig
- lib/backend/api
Expand Down
2 changes: 1 addition & 1 deletion pkg/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func servePrometheusMetrics(configParams *config.Config) {
}
if !configParams.PrometheusProcessMetricsEnabled {
log.Info("Discarding process metrics")
prometheus.Unregister(prometheus.NewProcessCollector(os.Getpid(), ""))
prometheus.Unregister(prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{}))
}
}
http.Handle("/metrics", promhttp.Handler())
Expand Down

0 comments on commit 65aba56

Please sign in to comment.