Skip to content

Commit

Permalink
the random teststat.FillCounter() may not add any samples. Then the l…
Browse files Browse the repository at this point in the history
…abels are also not registered.
  • Loading branch information
feliksik committed Jul 31, 2017
1 parent ee4f890 commit 158ebc0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metrics/cloudwatch/cloudwatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (mcw *mockCloudWatch) testDimensions(name string, labelValues ...string) er
if !hasValue {
return nil // nothing to check; 0 samples were received
}

dimensions, ok := mcw.dimensionsReceived[name]
mcw.mtx.RUnlock()

Expand Down

0 comments on commit 158ebc0

Please sign in to comment.