mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-15 07:47:31 -08:00
commit
e4e00b6f24
|
@ -31,7 +31,7 @@ const (
|
||||||
type (
|
type (
|
||||||
// Closer is the interface that wraps the Close method.
|
// Closer is the interface that wraps the Close method.
|
||||||
Closer interface {
|
Closer interface {
|
||||||
// Close reaps the underlying directory and its children. The directory
|
// Close reaps the underlying directory and its children. The directory
|
||||||
// could be deleted by its users already.
|
// could be deleted by its users already.
|
||||||
Close()
|
Close()
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ type (
|
||||||
}
|
}
|
||||||
|
|
||||||
// T implements the needed methods of testing.TB so that we do not need
|
// T implements the needed methods of testing.TB so that we do not need
|
||||||
// to actually import testing (which has the side affect of adding all
|
// to actually import testing (which has the side effect of adding all
|
||||||
// the test flags, which we do not want in non-test binaries even if
|
// the test flags, which we do not want in non-test binaries even if
|
||||||
// they make use of these utilities for some reason).
|
// they make use of these utilities for some reason).
|
||||||
T interface {
|
T interface {
|
||||||
|
|
Loading…
Reference in a new issue