You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("a previously registered descriptor with the same fully-qualified name as %s has different label names or a different help string", desc)
316
316
}
317
-
} else {
318
-
// ...then check the new descriptors already seen.
returnfmt.Errorf("descriptors reported by collector have inconsistent label names or help strings for the same fully-qualified name, offender is %s", desc)
322
-
}
323
-
} else {
324
-
newDimHashesByName[desc.fqName] =desc.dimHash
317
+
continue
318
+
}
319
+
320
+
// ...then check the new descriptors already seen.
returnfmt.Errorf("descriptors reported by collector have inconsistent label names or help strings for the same fully-qualified name, offender is %s", desc)
325
324
}
325
+
continue
326
326
}
327
+
newDimHashesByName[desc.fqName] =desc.dimHash
327
328
}
328
329
// A Collector yielding no Desc at all is considered unchecked.
0 commit comments