Fixed inconsistency between HasIntField and IntField (#2813)
This commit is contained in:
committed by
Daniel Nelson
parent
bfeb3020a3
commit
ac5ac3161f
@@ -69,7 +69,7 @@ func TestPostgresqlGeneratesMetrics(t *testing.T) {
|
||||
for _, metric := range intMetrics {
|
||||
_, ok := availableColumns[metric]
|
||||
if ok {
|
||||
assert.True(t, acc.HasIntField("postgresql", metric))
|
||||
assert.True(t, acc.HasInt64Field("postgresql", metric))
|
||||
metricsCounted++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user