mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 05:47:27 -08:00
Fix some comments.
This commit is contained in:
parent
4c5c22dcf1
commit
b11bc8ae24
|
@ -20,6 +20,8 @@ import (
|
||||||
"github.com/prometheus/prometheus/config"
|
"github.com/prometheus/prometheus/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Storage represents all the remote read and write endpoints. It implements
|
||||||
|
// storage.Storage.
|
||||||
type Storage struct {
|
type Storage struct {
|
||||||
mtx sync.RWMutex
|
mtx sync.RWMutex
|
||||||
|
|
||||||
|
@ -88,7 +90,7 @@ func (s *Storage) ApplyConfig(conf *config.Config) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop the background processing of the storage queues.
|
// Close the background processing of the storage queues.
|
||||||
func (s *Storage) Close() error {
|
func (s *Storage) Close() error {
|
||||||
s.mtx.Lock()
|
s.mtx.Lock()
|
||||||
defer s.mtx.Unlock()
|
defer s.mtx.Unlock()
|
||||||
|
|
Loading…
Reference in a new issue