prometheus/tsdb/wal
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
* MultiError: Refactored MultiError for more concise and safe usage.

* Less lines
* Goland IDE was marking every usage of old MultiError "potential nil" error
* It was easy to forgot using Err() when error was returned, now it's safely assured on compile time.

NOTE: Potentially I would rename package to merrors. (: In different PR.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

* Addressed review comments.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

* Addressed comments.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

* Fix after rebase.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2020-10-28 15:24:58 +00:00
..
checkpoint.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
checkpoint_test.go Refactor test assertions (#8110) 2020-10-27 11:06:53 +01:00
live_reader.go Capitalizing first letter of all log lines (#7043) 2020-04-11 09:22:18 +01:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
wal.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
wal_test.go Refactor test assertions (#8110) 2020-10-27 11:06:53 +01:00
watcher.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
watcher_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00