mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
f4650c27e7
It seems sometimes you can get error like: Error: Not equal: expected: []byte(nil) actual : []byte{} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]uint8) <nil> +([]uint8) { +} This commit does what bytes.Equal does to silence those differences. I'm not sure if this is a correct solution or just covering up the actual bug. Closes #9574 Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com> |
||
---|---|---|
.. | ||
checkpoint.go | ||
checkpoint_test.go | ||
live_reader.go | ||
reader.go | ||
reader_test.go | ||
wal.go | ||
wal_test.go | ||
watcher.go | ||
watcher_test.go |