Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion internal/certificatetransparency/ct-watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,14 @@ func (w *Watcher) addNewlyAvailableLogs(logList loglist3.LogList) {
for _, operator := range logList.Operators {
// Iterate over each log of the operator
for _, transparencyLog := range operator.Logs {
// Check if the log is already being watched
newURL := normalizeCtlogURL(transparencyLog.URL)

if transparencyLog.State.LogStatus() == loglist3.RetiredLogStatus {
log.Printf("Skipping retired CT log: %s\n", newURL)
continue
}

// Check if the log is already being watched
alreadyWatched := false
for _, ctWorker := range w.workers {
workerURL := normalizeCtlogURL(ctWorker.ctURL)
Expand Down
Loading