use AddError everywhere (#2372)
This commit is contained in:
committed by
Daniel Nelson
parent
801f6cb8a0
commit
06baf7cf78
@@ -19,8 +19,7 @@ func TestZookeeperGeneratesMetrics(t *testing.T) {
|
||||
|
||||
var acc testutil.Accumulator
|
||||
|
||||
err := z.Gather(&acc)
|
||||
require.NoError(t, err)
|
||||
require.NoError(t, acc.GatherError(z.Gather))
|
||||
|
||||
intMetrics := []string{
|
||||
"avg_latency",
|
||||
|
||||
Reference in New Issue
Block a user