File tree Expand file tree Collapse file tree
internal/certificatetransparency Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ func (w *Watcher) addNewlyAvailableLogs(logList loglist3.LogList) {
158158 ctIndex : lastCTIndex ,
159159 }
160160 w .workers = append (w .workers , & ctWorker )
161- metrics .Init (operator .Name , transparencyLog .URL )
161+ metrics .Init (operator .Name , normalizeCtlogURL ( transparencyLog .URL ) )
162162
163163 // Start a goroutine for each worker
164164 go func () {
@@ -269,7 +269,7 @@ func (w *Watcher) CreateIndexFile(filePath string) error {
269269 // Iterate over each log of the operator
270270 for _ , transparencyLog := range operator .Logs {
271271 // Check if the log is already being watched
272- metrics .Init (operator .Name , transparencyLog .URL )
272+ metrics .Init (operator .Name , normalizeCtlogURL ( transparencyLog .URL ) )
273273 log .Println ("Fetching STH for" , transparencyLog .URL )
274274
275275 hc := http.Client {Timeout : 5 * time .Second }
You can’t perform that action at this time.
0 commit comments