Fix mysql plugin due to test accumulator refactor

This commit is contained in:
Marcos Lilljedahl 2015-07-03 09:17:53 -03:00
parent e9ad786578
commit e2cff9febe
1 changed files with 1 additions and 1 deletions

View File

@ -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++
}
}