Fixed inconsistency between HasIntField and IntField (#2813)

This commit is contained in:
Frederick Roth
2017-05-17 00:25:30 +02:00
committed by Daniel Nelson
parent f29cd638c9
commit ec3c27a555
14 changed files with 50 additions and 32 deletions

View File

@@ -105,7 +105,7 @@ func TestMemcachedGeneratesMetrics(t *testing.T) {
"meta-cache-size", "qsize-q", "signature-cache-size", "sys-msec", "uptime", "user-msec"}
for _, metric := range intMetrics {
assert.True(t, acc.HasIntField("powerdns", metric), metric)
assert.True(t, acc.HasInt64Field("powerdns", metric), metric)
}
}