Fixed inconsistency between HasIntField and IntField (#2813)

This commit is contained in:
Frederick Roth
2017-05-16 15:25:30 -07:00
committed by Daniel Nelson
parent bfeb3020a3
commit ac5ac3161f
14 changed files with 50 additions and 32 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func TestMemcachedGeneratesMetrics(t *testing.T) {
"bytes_read", "bytes_written", "threads", "conn_yields"}
for _, metric := range intMetrics {
assert.True(t, acc.HasIntField("memcached", metric), metric)
assert.True(t, acc.HasInt64Field("memcached", metric), metric)
}
}