mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Update collision hashes for stringlabels
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
This commit is contained in:
parent
565c6fa704
commit
fb32c770c7
|
@ -82,8 +82,8 @@ func labelsWithHashCollision() (labels.Labels, labels.Labels) {
|
||||||
|
|
||||||
if ls1.Hash() != ls2.Hash() {
|
if ls1.Hash() != ls2.Hash() {
|
||||||
// These ones are the same when using -tags stringlabels
|
// These ones are the same when using -tags stringlabels
|
||||||
ls1 = labels.FromStrings("__name__", "metric", "lbl", "HFnEaGl")
|
ls1 = labels.FromStrings("__name__", "metric", "lbl", "D3opXYk")
|
||||||
ls2 = labels.FromStrings("__name__", "metric", "lbl", "RqcXatm")
|
ls2 = labels.FromStrings("__name__", "metric", "lbl", "G1__3.m")
|
||||||
}
|
}
|
||||||
|
|
||||||
if ls1.Hash() != ls2.Hash() {
|
if ls1.Hash() != ls2.Hash() {
|
||||||
|
|
|
@ -6176,8 +6176,8 @@ func labelsWithHashCollision() (labels.Labels, labels.Labels) {
|
||||||
|
|
||||||
if ls1.Hash() != ls2.Hash() {
|
if ls1.Hash() != ls2.Hash() {
|
||||||
// These ones are the same when using -tags stringlabels
|
// These ones are the same when using -tags stringlabels
|
||||||
ls1 = labels.FromStrings("__name__", "metric", "lbl", "HFnEaGl")
|
ls1 = labels.FromStrings("__name__", "metric", "lbl", "D3opXYk")
|
||||||
ls2 = labels.FromStrings("__name__", "metric", "lbl", "RqcXatm")
|
ls2 = labels.FromStrings("__name__", "metric", "lbl", "G1__3.m")
|
||||||
}
|
}
|
||||||
|
|
||||||
if ls1.Hash() != ls2.Hash() {
|
if ls1.Hash() != ls2.Hash() {
|
||||||
|
|
Loading…
Reference in a new issue