mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[GH-ISSUE #59] HEAD doesn't build with abh/go-metrics #191
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leifj on GitHub (Nov 25, 2014).
Original GitHub issue: https://github.com/abh/geodns/issues/59
./metrics.go:26: cannot use metrics.NewHistogram(metrics.NewUniformSample(1800)) (type metrics.Histogram) as type *metrics.StandardHistogram in assignment: need type assertion
./metrics.go:29: cannot use metrics.NewHistogram(metrics.NewExpDecaySample(600, 0.015)) (type metrics.Histogram) as type *metrics.StandardHistogram in assignment: need type assertion
./metrics.go:32: cannot use metrics.NewGauge() (type metrics.Gauge) as type *metrics.StandardGauge in assignment: need type assertion
./zone.go:85: cannot use metrics.NewMeter() (type metrics.Meter) as type *metrics.StandardMeter in assignment: need type assertion
@leifj commented on GitHub (Nov 25, 2014):
This is go1.2.1 btw
@leifj commented on GitHub (Nov 25, 2014):
actually I think I'm wrong. I was looking at a local branch
@abh commented on GitHub (Nov 25, 2014):
I think what you are saying is that I should make a godep file. :-)
@leifj commented on GitHub (Nov 25, 2014):
On 2014-11-25 16:41, Ask Bjørn Hansen wrote:
@abh commented on GitHub (Nov 26, 2014):
Looks like I started on that in
commit
24ce842203Author: Ask Bjørn Hansen
Date: Sun Oct 19 15:03:32 2014 -0700
:-)