Fix mysql plugin due to test accumulator refactor
This commit is contained in:
parent
e9ad786578
commit
e2cff9febe
|
@ -39,7 +39,7 @@ func TestMysqlGeneratesMetrics(t *testing.T) {
|
|||
var count int
|
||||
|
||||
for _, p := range acc.Points {
|
||||
if strings.HasPrefix(p.Name, prefix.prefix) {
|
||||
if strings.HasPrefix(p.Measurement, prefix.prefix) {
|
||||
count++
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue