Procstat: make tests pass again
Forget to remove `tagmap` in the previous commit.
This commit is contained in:
parent
955996a269
commit
0b2b3d020f
|
@ -23,7 +23,6 @@ func TestGather(t *testing.T) {
|
|||
p := Procstat{
|
||||
PidFile: file.Name(),
|
||||
Prefix: "foo",
|
||||
tagmap: make(map[int32]map[string]string),
|
||||
}
|
||||
p.Gather(&acc)
|
||||
assert.True(t, acc.HasFloatField("procstat", "foo_cpu_time_user"))
|
||||
|
|
Loading…
Reference in New Issue