Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Snawoot committed May 2, 2023
1 parent 02c58a2 commit 7924ecd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions enumerator/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package enumerator
import (
"context"
"fmt"
"log"
"net"
"sync"

Expand Down Expand Up @@ -147,7 +146,6 @@ func (e *CFEnumerator) enumerateDomain(ctx context.Context, accountID, zoneID st
Domain: record.Name,
Address: record.Content,
}] = struct{}{}
log.Printf("new target (origin, %s record): %q -> %q", record.Type, record.Name, record.Content)
}

// Add target for the domain name via CF
Expand All @@ -156,7 +154,6 @@ func (e *CFEnumerator) enumerateDomain(ctx context.Context, accountID, zoneID st
Domain: record.Name,
Address: "",
}] = struct{}{}
log.Printf("new target (proxied, %s record): %q -> %q", record.Type, record.Name, record.Name)
}
}

Expand All @@ -174,7 +171,6 @@ func (e *CFEnumerator) enumerateDomain(ctx context.Context, accountID, zoneID st
Domain: lb.Name,
Address: "",
}] = struct{}{}
log.Printf("new target (proxied, LB): %q -> %q", lb.Name, "")
}
pools := lb.DefaultPools
pools = append(pools, lb.FallbackPool)
Expand All @@ -199,7 +195,6 @@ func (e *CFEnumerator) enumerateDomain(ctx context.Context, accountID, zoneID st
Domain: lb.Name,
Address: addr,
}] = struct{}{}
log.Printf("new target (origin, LB): %q -> %q", lb.Name, addr)
}
}

Expand Down

0 comments on commit 7924ecd

Please sign in to comment.