From b11bc8ae247c2ce6f4d60b532ffdb86da34b5c22 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Tue, 1 Aug 2017 11:19:35 +0100 Subject: [PATCH] Fix some comments. --- storage/remote/storage.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/storage/remote/storage.go b/storage/remote/storage.go index d0449995d..af4aa4f52 100644 --- a/storage/remote/storage.go +++ b/storage/remote/storage.go @@ -20,6 +20,8 @@ import ( "github.com/prometheus/prometheus/config" ) +// Storage represents all the remote read and write endpoints. It implements +// storage.Storage. type Storage struct { mtx sync.RWMutex @@ -88,7 +90,7 @@ func (s *Storage) ApplyConfig(conf *config.Config) error { return nil } -// Stop the background processing of the storage queues. +// Close the background processing of the storage queues. func (s *Storage) Close() error { s.mtx.Lock() defer s.mtx.Unlock()