mirror of
https://github.com/distribution/distribution.git
synced 2025-09-12 21:28:59 +00:00
add label to the metrics
Signed-off-by: Honglin Feng <tifayuki@gmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@ func TestBroadcaster(t *testing.T) {
|
||||
func TestEventQueue(t *testing.T) {
|
||||
const nevents = 1000
|
||||
var ts testSink
|
||||
metrics := newSafeMetrics()
|
||||
metrics := newSafeMetrics("")
|
||||
eq := newEventQueue(
|
||||
// delayed sync simulates destination slower than channel comms
|
||||
&delayedSink{
|
||||
|
Reference in New Issue
Block a user