Skip to content

Commit ab82c7a

Browse files
committed
del not needed comments
Signed-off-by: Dmitry Ponomaryov <[email protected]>
1 parent 318aa5b commit ab82c7a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

exporter/server.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,11 @@ func RunWebServer(opts *ServerOpts, exporters []*Exporter, exporterOpts *Opts, l
6363
targetHost := r.URL.Query().Get("target")
6464

6565
if targetHost == "" {
66-
// Serve local and cached exporter metrics
6766
if len(exporters) > 0 {
6867
exporters[0].Handler().ServeHTTP(w, r)
6968
return
7069
}
7170

72-
// No local exporters, try to serve first cached exporter
7371
cacheMutex.Lock()
7472
defer cacheMutex.Unlock()
7573
for _, exp := range exportersCache {

0 commit comments

Comments
 (0)